crash with duplicated softbodies
in copy_softbody() scratch pointer was not initialized to NULL in copy
did not know that function exists at all
This commit is contained in:
Jens Ole Wund
2006-11-12 16:51:29 +00:00
parent 8e487f3e29
commit bbfb7e5483

View File

@@ -860,6 +860,7 @@ SoftBody *copy_softbody(SoftBody *sb)
sbn->keys= NULL;
sbn->totkey= sbn->totpointkey= 0;
sbn->scratch= NULL;
return sbn;
}