Two-in-one commit:

- Proxy Armature: armature layer (visible bones) is now saved in proxy, so
  on file reload the layer settings are restored

- bugreport: disabling subsurf (for view) didn't change the total amounts
  in header.
This commit is contained in:
2006-11-29 21:59:19 +00:00
parent 5a3959e54b
commit e82f7818fc
4 changed files with 10 additions and 5 deletions

View File

@@ -917,6 +917,8 @@ void pose_movetolayer(void)
if( movetolayer_short_buts(&lay, "Armature Layers")==0 ) return;
if(lay==0) return;
arm->layer= lay;
if(ob->pose)
ob->pose->proxy_layer= lay;
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWACTION, 0);