diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-23 22:52:31 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-23 22:52:31 +0400 |
commit | 948f27c0d888bbfe0f10c4350b4269166568b40d (patch) | |
tree | 2d582413b47bdddc8393c1815f8d7a1184bd4367 /source/blender/src/header_info.c | |
parent | 6e98a38ea2268fdd96acd6c280286001bca949f6 (diff) |
Killed silly modal PoseMode mode! :)
- PoseMode now is a state Armature Objects can be in. So, while in PoseMode
for an Armature, you can just select another Object or Armature.
- The old PoseMode options (transform, insert keys etc) are accessible
with making the Armature Object 'active' (and have object in PoseMode).
- At this moment no multiple Poses can be transformed/edited at the same
time.
- The old hotkey CTRL+TAB, and view3d header menu, still work to set an
Object's PoseMode
It was quite a lot recode, so tests & reports are welcome.
Oh, as a bonus I added Lasso Select for Bones in PoseMode! It selects using
only the line between root and tip of the Bone.
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r-- | source/blender/src/header_info.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index 824e1c6c48f..ebb3843a346 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -1765,7 +1765,7 @@ char info_time_str[32]=""; static void info_text(int x, int y) { - Object *ob; + Object *ob= OBACT; extern float hashvectf[]; extern int mem_in_use; unsigned int swatch_color; @@ -1797,7 +1797,7 @@ static void info_text(int x, int y) sprintf(s," | Mem:%.2fM ", (mem_in_use>>10)/1024.0); } - else if(G.obpose) { + else if(ob && (ob->flag & OB_POSEMODE)) { sprintf(infostr,"Bo:%d-%d | Mem:%.2fM ", G.totbonesel, G.totbone, (mem_in_use>>10)/1024.0); } @@ -1805,7 +1805,6 @@ static void info_text(int x, int y) sprintf(infostr,"Ve:%d | Fa:%d | Ob:%d-%d | La:%d | Mem:%.2fM | Time:%s | ", G.totvert, G.totface, G.totobj, G.totobjsel, G.totlamp, (mem_in_use>>10)/1024.0, info_time_str); } - ob= OBACT; if(ob) { strcat(infostr, ob->id.name+2); } |