Bugfix in group-proxy, Deleting objects didn't reset proxy pointers.

This commit is contained in:
2006-11-14 18:50:23 +00:00
parent ba04e4bceb
commit a8ca44ea41

View File

@@ -269,9 +269,10 @@ void unlink_object(Object *ob)
/* check all objects: parents en bevels and fields, also from libraries */
obt= G.main->object.first;
while(obt) {
if(obt->id.lib)
if(obt->proxy==ob)
obt->proxy= NULL;
if(obt->proxy==ob)
obt->proxy= NULL;
if(obt->proxy_group==ob)
obt->proxy_group= NULL;
if(obt->parent==ob) {
obt->parent= NULL;