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:
authorKevin Mackay <mackay.ka@gmail.com>2013-11-06 03:37:09 +0400
committerKevin Mackay <mackay.ka@gmail.com>2013-11-06 03:37:09 +0400
commit299812f28d32950a9bbf4612a3a5fef46054e7fb (patch)
tree1be704188a2132b3d2ea19360d185697e6494e2e /source/blender/blenkernel/intern/curve.c
parent7874447e4a75d77eddacb0b0186ea1e9f2c76596 (diff)
Made active point and active spline behaviour more predictable on curves/surfaces:
* deselect all no longer leaves an active point * the most recently added spline becomes the active one * on successful duplicate/delete the active point and active spline are reset
Diffstat (limited to 'source/blender/blenkernel/intern/curve.c')
-rw-r--r--source/blender/blenkernel/intern/curve.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c
index ca9f97b754c..4524b3ac7ac 100644
--- a/source/blender/blenkernel/intern/curve.c
+++ b/source/blender/blenkernel/intern/curve.c
@@ -230,6 +230,7 @@ Curve *BKE_curve_copy(Curve *cu)
cun->editnurb = NULL;
cun->editfont = NULL;
cun->selboxes = NULL;
+ cun->lastsel = NULL;
#if 0 // XXX old animation system
/* single user ipo too */