"Delete object" didn't correctly clear all pointers in Object NLA modifiers
This commit is contained in:
2006-12-27 10:21:33 +00:00
parent d24597c8a3
commit 38f168c3d3

View File

@@ -340,7 +340,7 @@ void unlink_object(Object *ob)
}
/* strips */
for(strip= ob->nlastrips.first; strip; strip= strip->next) {
for(strip= obt->nlastrips.first; strip; strip= strip->next) {
if(strip->object==ob)
strip->object= NULL;