diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-02 12:33:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-02 12:33:06 +0300 |
commit | 131ea02a4c0cc0c245c39488113fbe4b433afdee (patch) | |
tree | f2d2bce6cebee2f3e6673e5a8205d7ad8e91f2bf /add_curve_extra_objects | |
parent | f4d6aad738ae8b368841aee77e0008480fe42f25 (diff) |
Cleanup: quiet strict name warnings for addons a..h.
Diffstat (limited to 'add_curve_extra_objects')
-rw-r--r-- | add_curve_extra_objects/__init__.py | 6 | ||||
-rw-r--r-- | add_curve_extra_objects/add_curve_simple.py | 1 | ||||
-rw-r--r-- | add_curve_extra_objects/add_curve_spirofit_bouncespline.py | 1 |
3 files changed, 5 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') diff --git a/add_curve_extra_objects/add_curve_simple.py b/add_curve_extra_objects/add_curve_simple.py index 3e85fa18..c6908ce9 100644 --- a/add_curve_extra_objects/add_curve_simple.py +++ b/add_curve_extra_objects/add_curve_simple.py @@ -1399,6 +1399,7 @@ class BezierDivide(Operator): # Simple change panel class SimplePanel(Panel): + bl_idname = "VIEW3D_PT_simple_curve" bl_label = "Simple Curve" bl_space_type = "VIEW_3D" bl_region_type = "TOOLS" diff --git a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py index 33caf120..d0c1c747 100644 --- a/add_curve_extra_objects/add_curve_spirofit_bouncespline.py +++ b/add_curve_extra_objects/add_curve_spirofit_bouncespline.py @@ -979,6 +979,7 @@ def draw_spline_settings(self): # Tools Panel > Create # ------------------------------------------------------------ class SplinePanel(Panel): + bl_idname = "VIEW3D_PT_spirofit_spline" bl_space_type = "VIEW_3D" bl_context = "objectmode" bl_region_type = "TOOLS" |