diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 07:30:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-02 07:30:07 +0400 |
commit | a08648ab53d4a5b4dd998e326653def22de841ea (patch) | |
tree | 89ab9b6464a6227ce57e2188f315df190b3ee421 /release/scripts/templates/operator_modal_draw.py | |
parent | 5b345524ea4aed30aa2fc9ef735ccae82bdffeae (diff) |
remove register/unregister from templates
Diffstat (limited to 'release/scripts/templates/operator_modal_draw.py')
-rw-r--r-- | release/scripts/templates/operator_modal_draw.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/release/scripts/templates/operator_modal_draw.py b/release/scripts/templates/operator_modal_draw.py index 1f24672346b..56ffb95f555 100644 --- a/release/scripts/templates/operator_modal_draw.py +++ b/release/scripts/templates/operator_modal_draw.py @@ -64,15 +64,3 @@ class ModalDrawOperator(bpy.types.Operator): else: self.report({'WARNING'}, "View3D not found, cannot run operator") return {'CANCELLED'} - - -def register(): - bpy.types.register(ModalDrawOperator) - - -def unregister(): - bpy.types.unregister(ModalDrawOperator) - - -if __name__ == "__main__": - register() |