Skip to content

Commit

Permalink
fix: build packed_file image
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippeCrassous committed Aug 6, 2020
1 parent 387b19d commit 63765db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mixer/blender_data/specifics.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ def bpy_data_ctor(collection_name: str, proxy: BpyIDProxy) -> Union[T.ID, None]:
image = None
if is_packed:
name = proxy.data("name")
size = proxy.data("size")
width = size.data(0)
height = size.data(1)
width, height = proxy.data("size")
image = collection.new(name, width, height)
# remaning attributes will be saved from the received proxy attributes
else:
Expand Down

0 comments on commit 63765db

Please sign in to comment.