Fix offset complaining if it gets a Vec3
This commit is contained in:
parent
a5900f6ade
commit
8ad4082f6d
1 changed files with 1 additions and 1 deletions
|
|
@ -251,7 +251,7 @@ def _read_block(block, clean_vertices: bool) -> Pattern:
|
|||
mirrored = (yscale < 0, xscale < 0)
|
||||
rotation = numpy.deg2rad(attr.get('rotation', 0))
|
||||
|
||||
offset = attr.get('insert', (0, 0, 0))[:2]
|
||||
offset = numpy.array(attr.get('insert', (0, 0, 0)))[:2]
|
||||
|
||||
args = {
|
||||
'offset': offset,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue