bugfix
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:
@@ -860,6 +860,7 @@ SoftBody *copy_softbody(SoftBody *sb)
|
||||
sbn->keys= NULL;
|
||||
sbn->totkey= sbn->totpointkey= 0;
|
||||
|
||||
sbn->scratch= NULL;
|
||||
return sbn;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user