diff options
Diffstat (limited to 'rigify/ui.py')
-rw-r--r-- | rigify/ui.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/ui.py b/rigify/ui.py index 59955957..46e2905a 100644 --- a/rigify/ui.py +++ b/rigify/ui.py @@ -277,8 +277,8 @@ class Generate(bpy.types.Operator): bl_options = {'UNDO'} def execute(self, context): - import imp - imp.reload(generate) + import importlib + importlib.reload(generate) use_global_undo = context.user_preferences.edit.use_global_undo context.user_preferences.edit.use_global_undo = False |