Remove unnecessary dictionary lookup
This may also fix a Windows compatibility issue related to path normalisation. Untested as it's hard to reproduce, but at least it shouldn't hurt either.
This commit is contained in:
parent
cb83192e1e
commit
23643ace13
@ -466,7 +466,7 @@ class Packer:
|
|||||||
# It is used to determine relative paths to other blend files.
|
# It is used to determine relative paths to other blend files.
|
||||||
# It is *not* used for any disk I/O, since the file may not even
|
# It is *not* used for any disk I/O, since the file may not even
|
||||||
# exist on the local filesystem.
|
# exist on the local filesystem.
|
||||||
bfile_pp = self._actions[bfile_path].new_path
|
bfile_pp = action.new_path
|
||||||
assert bfile_pp is not None
|
assert bfile_pp is not None
|
||||||
|
|
||||||
# Use tempfile to create a unique name in our temporary directoy.
|
# Use tempfile to create a unique name in our temporary directoy.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user