--- Operating System, Graphics card ---
Ubuntu 12.04 - Nvidia 8600
--- Blender version with error, and version that worked ---
r60988
--- Short description of error ---
If I apply a modifier "Mask" with mode Armature, not updated correctly when changing the focus from an object to other.
--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
Watch video adjunct
Description
Related Objects
Event Timeline
Just for the note: sample .blend file worth 1000s of screencact videos and saves lots of time.
I'm sorry, attach a file now.
In the .blend:
Alternately selects between the bones 1 and bone 2, the modifier mask works correctly.
The error is when you select other object:
1. Select the bone 1.
2. Now select the object 2 and then select the bone 2. Alternately selects between the object 2 and bone 2. The bone 2 does not perform its mask effect.
The issue here seems to be that only the active object is marked for update when selecting a bone. This leaves other objects that depend on the armature selection state not updated updated. Attached a patch where the update is set to the armature object itself
From what i could see here patch seems to be logical: arm came from selected ob, not ob_act so checking mask modifier from one object and tagging update another one seems quite strange.
But re-assigning to Joshua, maybe there's something i'm missing here.
I can't see any obvious reasons to reject this patch either. Committed as rB33bc6a3959b4f59f6ded304b5db06733653051cd