Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'add_curve_extra_objects/__init__.py')
-rw-r--r--add_curve_extra_objects/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/add_curve_extra_objects/__init__.py b/add_curve_extra_objects/__init__.py
index ae8cdf89..42ae2d44 100644
--- a/add_curve_extra_objects/__init__.py
+++ b/add_curve_extra_objects/__init__.py
@@ -225,9 +225,9 @@ class CurveExtraObjectsAddonPreferences(AddonPreferences):
icon="LAYER_USED")
-class INFO_MT_curve_knots_add1(Menu):
+class INFO_MT_curve_knots_add(Menu):
# Define the "Extras" menu
- bl_idname = "curve_knots_add"
+ bl_idname = "INFO_MT_curve_knots_add"
bl_label = "Plants"
def draw(self, context):
@@ -253,7 +253,7 @@ def menu_func(self, context):
icon='CURVE_DATA')
layout.separator()
- layout.menu("curve_knots_add", text="Knots", icon='CURVE_DATA')
+ layout.menu(INFO_MT_curve_knots_add.bl_idname, text="Knots", icon='CURVE_DATA')
layout.separator()
layout.operator("curve.curlycurve", text="Curly Curve",
icon='CURVE_DATA')