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:
Sybren A. Stüvel 2019-09-27 12:20:15 +02:00
parent cb83192e1e
commit 23643ace13

View File

@ -466,7 +466,7 @@ class Packer:
# 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
# exist on the local filesystem.
bfile_pp = self._actions[bfile_path].new_path
bfile_pp = action.new_path
assert bfile_pp is not None
# Use tempfile to create a unique name in our temporary directoy.