diff options
Diffstat (limited to 'render_copy_settings')
-rw-r--r-- | render_copy_settings/__init__.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/render_copy_settings/__init__.py b/render_copy_settings/__init__.py index 42003048..62b0ab30 100644 --- a/render_copy_settings/__init__.py +++ b/render_copy_settings/__init__.py @@ -90,8 +90,7 @@ def register(): bpy.types.Scene.render_copy_settings = PointerProperty(type=RenderCopySettings) bpy.utils.register_module(__name__) - if hasattr(bpy.app, "translations"): - bpy.app.translations.register(__name__, translations.translations_dict) + bpy.app.translations.register(__name__, translations.translations_dict) def unregister(): @@ -102,8 +101,7 @@ def unregister(): del bpy.types.Scene.render_copy_settings bpy.utils.unregister_module(__name__) - if hasattr(bpy.app, "translations"): - bpy.app.translations.unregister(__name__) + bpy.app.translations.unregister(__name__) if __name__ == "__main__": |