Skip to content

Commit

Permalink
Fixed Curve Tools 2 to work with Bforartists
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinerBforartists committed Mar 13, 2017
1 parent 4a46ce5 commit 25298f3
Showing 1 changed file with 3 additions and 3 deletions.
@@ -1,4 +1,4 @@
# ##### BEGIN GPL LICENSE BLOCK #####
# ##### BEGIN GPL LICENSE BLOCK #####
#
# This program is free software; you can redistribute it and / or
# modify it under the terms of the GNU General Public License
Expand Down Expand Up @@ -1588,7 +1588,7 @@ def register():
bpy.utils.register_class(SimpleEdit)
bpy.utils.register_class(INFO_MT_simple_menu)

bpy.types.INFO_MT_curve_add.append(Simple_button)
bpy.types.VIEW3D_PT_tools_add_misc.append(Simple_button)

SimpleVariables()

Expand All @@ -1601,7 +1601,7 @@ def unregister():
bpy.utils.unregister_class(SimpleEdit)
bpy.utils.unregister_class(INFO_MT_simple_menu)

bpy.types.INFO_MT_curve_add.remove(Simple_button)
bpy.types.VIEW3D_PT_tools_add_misc.remove(Simple_button)

if __name__ == "__main__":
register()

0 comments on commit 25298f3

Please sign in to comment.