fix transforms not exporting for scenes with more than one model

This commit is contained in:
SleepKiller 2019-11-18 00:03:53 +13:00
parent 3dd21678db
commit 0fab83cfa1
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class Model:
model_type: ModelType = ModelType.NULL model_type: ModelType = ModelType.NULL
hidden: bool = True hidden: bool = True
transform: ModelTransform = ModelTransform() transform: ModelTransform = field(default_factory=ModelTransform)
geometry: List[GeometrySegment] = None geometry: List[GeometrySegment] = None
collisionprimitive: CollisionPrimitive = None collisionprimitive: CollisionPrimitive = None