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:
authorTon Roosendaal <ton@blender.org>2010-11-23 20:28:41 +0300
committerTon Roosendaal <ton@blender.org>2010-11-23 20:28:41 +0300
commit6c19670d7c97103f58aff2747072c9f9a1620354 (patch)
tree04ea29856179e2f4492ca02803499cf5e3c7b1df /source/blender/editors/include/ED_curve.h
parent68b49aa981e146d7a7afde3e83305445bcc5ca3e (diff)
Bugfix #24860
On entering editmode Curve/Nurbs, the undo buffer was not correct; storing old Curve/Nurbs object name. This caused for example the Operator tool redo options to fail; it added another curve on first use (with user pref "enter editmode). Solved with adding good undo push + nicer code for curve and nurbs naming.
Diffstat (limited to 'source/blender/editors/include/ED_curve.h')
-rw-r--r--source/blender/editors/include/ED_curve.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h
index 81d134d2a7d..b59ac68e328 100644
--- a/source/blender/editors/include/ED_curve.h
+++ b/source/blender/editors/include/ED_curve.h
@@ -63,7 +63,7 @@ void free_curve_editNurb (struct Curve *cu);
int mouse_nurb (struct bContext *C, short mval[2], int extend);
-struct Nurb *add_nurbs_primitive(struct bContext *C, float mat[4][4], int type, int newname);
+struct Nurb *add_nurbs_primitive(struct bContext *C, float mat[4][4], int type, int newob);
int isNurbsel (struct Nurb *nu);;