Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2006-11-30 00:59:19 +0300
committerTon Roosendaal <ton@blender.org>2006-11-30 00:59:19 +0300
commite82f7818fcda9e26852c85bf93ebed7789915ce2 (patch)
tree0d3a2e893b72a9ec6084da370a0d4031e7134ba7 /source/blender/src/poseobject.c
parent5a3959e54b7a08ee852e5e65d46fe6ea2e37d342 (diff)
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.
Diffstat (limited to 'source/blender/src/poseobject.c')
-rw-r--r--source/blender/src/poseobject.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/poseobject.c b/source/blender/src/poseobject.c
index 7f61505131a..501c3977de1 100644
--- a/source/blender/src/poseobject.c
+++ b/source/blender/src/poseobject.c
@@ -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);