Tweak to improve performance
This commit is contained in:
@@ -28,7 +28,7 @@ class SoundBank:
|
||||
|
||||
if sound.filepath in self.cached_info.keys():
|
||||
return self.cached_info[sound.filepath]
|
||||
|
||||
else:
|
||||
if sound.filepath.startswith("//"):
|
||||
path = bpy.path.abspath(sound.filepath)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user