diff --git a/ue2rigify/addon/__init__.py b/ue2rigify/addon/__init__.py index 201a3d37..81732c98 100644 --- a/ue2rigify/addon/__init__.py +++ b/ue2rigify/addon/__init__.py @@ -14,9 +14,9 @@ "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, 12), + "version": (1, 3, 13), "location": "3D View > Tools > UE to Rigify", - "wiki_url": "https://github.com/EpicGames/BlenderTools/wiki/UE-to-Rigify-Home", + "wiki_url": "https://epicgames.github.io/BlenderTools/ue2rigify/quickstart.html", "warning": "", "category": "Pipeline" } diff --git a/ue2rigify/addon/functions/scene.py b/ue2rigify/addon/functions/scene.py index df080b06..b87fb967 100644 --- a/ue2rigify/addon/functions/scene.py +++ b/ue2rigify/addon/functions/scene.py @@ -1355,7 +1355,7 @@ def switch_modes(self=None, context=None): if properties.selected_mode == properties.control_mode: convert_to_control_rig(properties) - # record this mode change in the history + # clear the undo history utilities.clear_undo_history() # restore the context diff --git a/ue2rigify/addon/functions/utilities.py b/ue2rigify/addon/functions/utilities.py index b25551e5..eacd3048 100644 --- a/ue2rigify/addon/functions/utilities.py +++ b/ue2rigify/addon/functions/utilities.py @@ -715,6 +715,10 @@ def save_properties(*args): except TypeError: scene_properties[attribute] = str(value) + # if the selected mode is control mode, then save the rig as frozen + if window_manager_properties.selected_mode == window_manager_properties.control_mode: + scene_properties['freeze_rig'] = True + def load_context(properties): """