Need to set new curve's disp to NULL when duplicating.

This commit is contained in:
2013-08-21 09:43:22 +00:00
parent 9470754fd3
commit ec902a44fd

View File

@@ -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;