diff --git a/send2ue/addon/__init__.py b/send2ue/addon/__init__.py index f8066e66..3560e3b2 100644 --- a/send2ue/addon/__init__.py +++ b/send2ue/addon/__init__.py @@ -15,7 +15,7 @@ bl_info = { "name": "Send to Unreal", "author": "Epic Games Inc.", - "version": (1, 4, 8), # addon plugin version + "version": (1, 4, 9), # addon plugin version "blender": (2, 83, 0), # minimum blender version "location": "Header > Pipeline > Export > Send to Unreal", "description": "Sends an asset to the first open Unreal Editor instance on your machine.", diff --git a/send2ue/addon/functions/unreal.py b/send2ue/addon/functions/unreal.py index 21c9dc5c..64bea6d7 100644 --- a/send2ue/addon/functions/unreal.py +++ b/send2ue/addon/functions/unreal.py @@ -92,6 +92,7 @@ def import_asset(asset_data, properties): f'\t\toptions.set_editor_property("skeleton", skeleton_asset)', f'\t\toptions.set_editor_property("original_import_type", unreal.FBXImportType.FBXIT_ANIMATION)', f'\t\toptions.set_editor_property("mesh_type_to_import", unreal.FBXImportType.FBXIT_ANIMATION)', + f'\t\toptions.anim_sequence_import_data.set_editor_property("preserve_local_transform", True)', f'\telse:', f'\t\traise RuntimeError("Unreal could not find a skeleton here: {asset_data.get("skeleton_game_path")}")', diff --git a/ue2rigify/addon/__init__.py b/ue2rigify/addon/__init__.py index 37c84ca3..331501d5 100644 --- a/ue2rigify/addon/__init__.py +++ b/ue2rigify/addon/__init__.py @@ -14,7 +14,7 @@ "author": "Epic Games Inc.", "description": "Allows you to convert a given rig and its animations to a Rigify rig.", "blender": (2, 83, 0), - "version": (1, 3, 9), + "version": (1, 3, 10), "location": "3D View > Tools > UE to Rigify", "wiki_url": "https://github.com/EpicGames/BlenderTools/wiki/UE-to-Rigify-Home", "warning": "", diff --git a/ue2rigify/addon/functions/scene.py b/ue2rigify/addon/functions/scene.py index 82798736..d0ca2b1d 100644 --- a/ue2rigify/addon/functions/scene.py +++ b/ue2rigify/addon/functions/scene.py @@ -264,11 +264,6 @@ def set_fk_ik_switch_values(rig_object, value): :param object rig_object: A blender object that contains armature data. :param float value: The floating point value of the FK to IK slider. """ - # change the ik solver type and mode to reduce bone jitter in unreal - rig_object.pose.ik_solver = 'ITASC' - rig_object.pose.ik_param.mode = 'SIMULATION' - rig_object.pose.ik_param.reiteration_method = 'ALWAYS' - for bone in rig_object.pose.bones: if isinstance(bone.get("IK_FK"), float): bone['IK_FK'] = value