diff --git a/src/addons/send2ue/core/io/fbx_b3.py b/src/addons/send2ue/core/io/fbx_b3.py index e42a82a4..c0824246 100644 --- a/src/addons/send2ue/core/io/fbx_b3.py +++ b/src/addons/send2ue/core/io/fbx_b3.py @@ -422,8 +422,9 @@ def fbx_data_object_elements(root, ob_obj, scene_data): if asset_object == current_object: # clear rotation and scale only if spawning actor # https://github.com/EpicGamesExt/BlenderTools/issues/610 - rot = (0, 0, 0) - scale = (1.0, 1.0, 1.0) + if bpy.context.scene.send2ue.extensions.instance_assets.place_in_active_level: + rot = (0, 0, 0) + scale = (1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR) else: loc = Vector((0, 0, 0)) diff --git a/src/addons/send2ue/core/io/fbx_b4.py b/src/addons/send2ue/core/io/fbx_b4.py index 5cf4a0da..43b6606c 100644 --- a/src/addons/send2ue/core/io/fbx_b4.py +++ b/src/addons/send2ue/core/io/fbx_b4.py @@ -507,8 +507,9 @@ def fbx_data_object_elements(root, ob_obj, scene_data): if asset_object == current_object: # clear rotation and scale only if spawning actor # https://github.com/EpicGamesExt/BlenderTools/issues/610 - rot = (0, 0, 0) - scale = (1.0, 1.0, 1.0) + if bpy.context.scene.send2ue.extensions.instance_assets.place_in_active_level: + rot = (0, 0, 0) + scale = (1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR) else: loc = Vector((0, 0, 0))