Skip to content

Commit

Permalink
Remove potential duplicate registration code
Browse files Browse the repository at this point in the history
Was sometimes causing an error when importing the project
  • Loading branch information
ndevenish committed Dec 29, 2016
1 parent 72d96f7 commit 05e8170
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions io_EDM/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@ def register():
rna_register()
panels_register()
importer_register()
bpy.utils.register_module(__name__)


def unregister():
from .io_operators import unregister as importer_unregister
from .rna import unregister as rna_unregister
from .panels import unregister as panels_unregister
importer_unregister()
panels_unregister()
rna_unregister()
bpy.utils.unregister_module(__name__)

if __name__ == "__main__":
register()
Expand Down

0 comments on commit 05e8170

Please sign in to comment.