Proxy Objects revisited!

The first incarnation assumed that proxies were local objects per
definition. Unfortunately that makes it impossible to - for example -
reference-link an entire Scene with proxies, to be used as a special
character set.

This commit makes the proxy implementation also a bit more clear.

Related work: the scene-sets were not executed fully or correctly for
the dependency graph. That happens now (in 3d view) as well.
This commit is contained in:
2006-11-30 15:54:21 +00:00
parent 9711d54fb7
commit 342c900220
13 changed files with 98 additions and 84 deletions

View File

@@ -620,7 +620,7 @@ void add_constraint(int only_IK)
if(pchanact==NULL) return;
/* check protection */
if(OB_IS_PROXY(ob) && (pchanact->bone->layer & arm->layer_protected)) {
if(ob->proxy && (pchanact->bone->layer & arm->layer_protected)) {
error("Bone is Proxy protected");
return;
}