From 0fab83cfa1d173f7ef4fff917ee3be6651855b01 Mon Sep 17 00:00:00 2001 From: SleepKiller Date: Mon, 18 Nov 2019 00:03:53 +1300 Subject: [PATCH] fix transforms not exporting for scenes with more than one model --- addons/io_scene_swbf_msh/msh_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/io_scene_swbf_msh/msh_model.py b/addons/io_scene_swbf_msh/msh_model.py index d97918f..2c11aa6 100644 --- a/addons/io_scene_swbf_msh/msh_model.py +++ b/addons/io_scene_swbf_msh/msh_model.py @@ -61,7 +61,7 @@ class Model: model_type: ModelType = ModelType.NULL hidden: bool = True - transform: ModelTransform = ModelTransform() + transform: ModelTransform = field(default_factory=ModelTransform) geometry: List[GeometrySegment] = None collisionprimitive: CollisionPrimitive = None