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:
authorSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-02-03 04:51:50 +0300
committerSpivak Vladimir (cwolf3d) <cwolf3d@gmail.com>2019-02-03 04:51:50 +0300
commit288fa42419d70dd7709d15f00e8a6bee10c24e89 (patch)
treed8abb269877300681eb45da9436c71b1ddab28ba /add_curve_extra_objects/__init__.py
parent22214fda573811ec0a083396174fb56dbf28de1c (diff)
Added (in add_curve_simple) a type of curve creation.
Implemented the ability to add curves (add_curve_aceous_galore) in edit mode.
Diffstat (limited to 'add_curve_extra_objects/__init__.py')
-rw-r--r--add_curve_extra_objects/__init__.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/add_curve_extra_objects/__init__.py b/add_curve_extra_objects/__init__.py
index 38305813..d7fbe2a4 100644
--- a/add_curve_extra_objects/__init__.py
+++ b/add_curve_extra_objects/__init__.py
@@ -244,13 +244,12 @@ class INFO_MT_curve_knots_add(Menu):
# Define "Extras" menus
def menu_func(self, context):
- if context.mode != 'OBJECT':
- # fix in D2142 will allow to work in EDIT_CURVE
- return None
-
layout = self.layout
layout.operator_menu_enum("curve.curveaceous_galore", "ProfileType", icon='CURVE_DATA')
+ if context.mode != 'OBJECT':
+ # fix in D2142 will allow to work in EDIT_CURVE
+ return None
layout.operator_menu_enum("curve.spirals", "spiral_type", icon='CURVE_DATA')
layout.separator()