Skip to content

Commit

Permalink
removed SCALE_FACTOR multiplication from cleared scale (poly-hammer#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshQuake authored Jul 29, 2024
1 parent 352c2d1 commit 5654ebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/addons/send2ue/core/io/fbx_b3.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ def fbx_data_object_elements(root, ob_obj, scene_data):
# clear rotation and scale only if spawning actor
# https://github.com/EpicGamesExt/BlenderTools/issues/610
rot = (0, 0, 0)
scale = (1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR)
scale = (1.0, 1.0, 1.0)
else:
loc = Vector((0, 0, 0))

Expand Down
2 changes: 1 addition & 1 deletion src/addons/send2ue/core/io/fbx_b4.py
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def fbx_data_object_elements(root, ob_obj, scene_data):
# clear rotation and scale only if spawning actor
# https://github.com/EpicGamesExt/BlenderTools/issues/610
rot = (0, 0, 0)
scale = (1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR, 1.0 * SCALE_FACTOR)
scale = (1.0, 1.0, 1.0)
else:
loc = Vector((0, 0, 0))

Expand Down

0 comments on commit 5654ebb

Please sign in to comment.