Bugfix: Beziers in curve didn't calculate the tilt values correctly for
the endpoint and not for all handle types. That way deforming curves didn't
extend the tilted deform either. (IRC report by Jahka)

2)
If you setup a Proxy for Armatures, the protected bones now have an error
pupup for buttons and for some of the tools in 3d window (constraint edit
mostly).
Also the Bones Panel shows a note when the bone is not editable.
This commit is contained in:
2006-11-16 10:24:26 +00:00
parent 7b71b524ed
commit 24b2e0422e
3 changed files with 80 additions and 5 deletions

View File

@@ -619,6 +619,12 @@ void add_constraint(int only_IK)
pchanact= get_active_posechannel(ob);
if(pchanact==NULL) return;
/* check protection */
if(OB_IS_PROXY(ob) && (pchanact->bone->layer & arm->layer_protected)) {
error("Bone is Proxy protected");
return;
}
/* find selected bone */
for(pchansel= ob->pose->chanbase.first; pchansel; pchansel= pchansel->next) {
if(pchansel!=pchanact)