diff options
author | Ton Roosendaal <ton@blender.org> | 2005-07-27 14:37:20 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-07-27 14:37:20 +0400 |
commit | 59672145a98f144a0d2eab059937d6d9bf3194ca (patch) | |
tree | 0f3f12c5d8008973310adea1daa34f75e9f7f276 /source/blender/src/header_action.c | |
parent | 8f15f9805aa006ab7b66aa150d3774e37f28e701 (diff) |
Cleanup & goodies for rigging geeks! :)
- PoseMode: Wkey menu, "Flip Left/Right Names". On selected bones, it flips
the L/R tags in names, and calls the proper code to rename everything
that's related (constraint targets, bone-childs, etc).
- PoseMode: Shift+S snapmenu: snap cursor to selected now works
- Outliner: select bones now correctly sets 'active' flag for bones,
updating the UI as well.
Also made sure you cannot select hidden bones in outliner.
- 3DWindow: in PoseMode/EditMode draws name of active Bone too (with user
option "Draw active object name" set.
- Added the new Armature/PoseMode options in View3D pulldowns.
Cleanup:
- moved Pose code from editaction.c to poseobject.c
- removed BSE_editaction.h and BSE_editaction_types.h, moved contents of
it to BIF_editaction.h. One include per C file should be fine. :)
I know the src/ structure would require more elaborated includes, but
we don't have that now...
Diffstat (limited to 'source/blender/src/header_action.c')
-rw-r--r-- | source/blender/src/header_action.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/header_action.c b/source/blender/src/header_action.c index 13a004d14d1..3a6cafe28e2 100644 --- a/source/blender/src/header_action.c +++ b/source/blender/src/header_action.c @@ -53,11 +53,12 @@ #include "DNA_screen_types.h" #include "DNA_space_types.h" +#include "BIF_editaction.h" #include "BIF_interface.h" +#include "BIF_poseobject.h" #include "BIF_resources.h" #include "BIF_screen.h" #include "BIF_space.h" -#include "BIF_editaction.h" #include "BKE_action.h" #include "BKE_armature.h" @@ -68,7 +69,6 @@ #include "BKE_utildefines.h" #include "BSE_drawipo.h" -#include "BSE_editaction.h" #include "BSE_headerbuttons.h" #include "nla.h" |