From 25298f3a8692148d06a7b2e148acb5badb4a4874 Mon Sep 17 00:00:00 2001 From: ReinerBforartists Date: Mon, 13 Mar 2017 09:31:46 +0100 Subject: [PATCH] Fixed Curve Tools 2 to work with Bforartists Issue: http://www.bforartists.de/content/recheck-addons-if-they-work-add-menu --- .../scripts/addons_contrib/curve_tools/add_curve_simple.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release/scripts/addons_contrib/curve_tools/add_curve_simple.py b/release/scripts/addons_contrib/curve_tools/add_curve_simple.py index 507cb58d61e2..e3599ada77e7 100644 --- a/release/scripts/addons_contrib/curve_tools/add_curve_simple.py +++ b/release/scripts/addons_contrib/curve_tools/add_curve_simple.py @@ -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 @@ -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() @@ -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()