forked from bartvdbraak/blender
Fixed the "bones on invisible layers, that are constrained to objects on
visible layers, don't move during transform()" bug.
This commit is contained in:
parent
57b91ddce8
commit
1942e4897e
@ -3020,6 +3020,12 @@ static void setbaseflags_for_editing(int mode) /* 0,'g','r','s' */
|
||||
for (base= FIRSTBASE; base; base= base->next) {
|
||||
base->flag &= ~(BA_PARSEL+BA_WASSEL);
|
||||
|
||||
/* Recalculate the pose if necessary, regardless of
|
||||
* whether the layer is visible or not.
|
||||
*/
|
||||
if (pose_do_update_flag(base->object))
|
||||
base->flag |= BA_WHERE_UPDATE;
|
||||
|
||||
if( (base->lay & G.vd->lay) && base->object->id.lib==0) {
|
||||
Object *ob= base->object;
|
||||
Object *parsel= is_a_parent_selected(ob);
|
||||
@ -3039,9 +3045,6 @@ static void setbaseflags_for_editing(int mode) /* 0,'g','r','s' */
|
||||
base->flag |= BA_PARSEL;
|
||||
}
|
||||
|
||||
if (pose_do_update_flag(base->object))
|
||||
base->flag |= BA_WHERE_UPDATE;
|
||||
|
||||
/* updates? */
|
||||
if(ob->type==OB_IKA) {
|
||||
Ika *ika= ob->data;
|
||||
|
Loading…
Reference in New Issue
Block a user