diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-21 13:43:22 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-08-21 13:43:22 +0400 |
commit | ec902a44fdd56a9ee55002993d6eb5a1b9fa1ff5 (patch) | |
tree | 1c38a2df1bdfb9691576222c01a370b0619b6b19 /source/blender/blenkernel/intern | |
parent | 9470754fd39405ac3289fb10a1b72e09b3c94334 (diff) |
Need to set new curve's disp to NULL when duplicating.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/curve.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/curve.c b/source/blender/blenkernel/intern/curve.c index 1658b513a6c..e41b1999198 100644 --- a/source/blender/blenkernel/intern/curve.c +++ b/source/blender/blenkernel/intern/curve.c @@ -225,6 +225,8 @@ Curve *BKE_curve_copy(Curve *cu) cun->key = BKE_key_copy(cu->key); if (cun->key) cun->key->from = (ID *)cun; + cun->disp.first = cun->disp.last = NULL; + cun->editnurb = NULL; cun->editfont = NULL; cun->selboxes = NULL; |