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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Fox <mfoxdogg@gmail.com>2010-06-13 09:48:21 +0400
committerMichael Fox <mfoxdogg@gmail.com>2010-06-13 09:48:21 +0400
commite7dd562095f2c313b0101ab4c398c4c79fdc0a3d (patch)
treed22ef5287f4d7a567f82844f0a953cc7378f3f24 /source/blender/editors/curve/curve_ops.c
parentb26a23786d513e78d246421bd031d6fbf616e214 (diff)
Made Add Surface Operator more atomic, now each primitive has own operator, but calling the same function with different flags.
So they can me used in macros, and addons can use the menu now, hope to see some very nice surface plugins
Diffstat (limited to 'source/blender/editors/curve/curve_ops.c')
-rw-r--r--source/blender/editors/curve/curve_ops.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/editors/curve/curve_ops.c b/source/blender/editors/curve/curve_ops.c
index 59e4490a63e..7586023d012 100644
--- a/source/blender/editors/curve/curve_ops.c
+++ b/source/blender/editors/curve/curve_ops.c
@@ -102,7 +102,14 @@ void ED_operatortypes_curve(void)
WM_operatortype_append(CURVE_OT_primitive_nurbs_curve_add);
WM_operatortype_append(CURVE_OT_primitive_nurbs_circle_add);
WM_operatortype_append(CURVE_OT_primitive_nurbs_path_add);
-
+
+ WM_operatortype_append(SURFACE_OT_primitive_nurbs_surface_curve_add);
+ WM_operatortype_append(SURFACE_OT_primitive_nurbs_surface_circle_add);
+ WM_operatortype_append(SURFACE_OT_primitive_nurbs_surface_surface_add);
+ WM_operatortype_append(SURFACE_OT_primitive_nurbs_surface_tube_add);
+ WM_operatortype_append(SURFACE_OT_primitive_nurbs_surface_sphere_add);
+ WM_operatortype_append(SURFACE_OT_primitive_nurbs_surface_donut_add);
+
WM_operatortype_append(CURVE_OT_smooth);
WM_operatortype_append(CURVE_OT_smooth_radius);