Daily commit for transform() project, to prevent conflicts with Martin's

work. :)

- added static and (void) and some style stuff  in transform.c
- first additions in code for posemode (do not even try now!)
- fixed warnings in previous commit martin (gcc only)

Note; posemode old transform had complex dependencies on redraw (Hos' home
grown dep graph), which is first being restored. Including old style
set_base_flags_for_editing. Tomorrow!
This commit is contained in:
2005-02-20 19:00:00 +00:00
parent 4e39c4361f
commit 7ad68dd4a6
6 changed files with 266 additions and 72 deletions

View File

@@ -3100,7 +3100,8 @@ static void clear_pose_update_flag(Object *ob) {
}
}
static int pose_flags_reset_done(Object *ob) {
/* exposed in transform.c */
int pose_flags_reset_done(Object *ob) {
/* Clear the constraint done status for every pose channe;
* that has been flagged as needing constant updating
*/
@@ -3317,7 +3318,8 @@ static void figure_bone_nocalc_core(Object *ob, bArmature *arm) {
}
}
static void figure_bone_nocalc(Object *ob) {
/* exposed in transform.c */
void figure_bone_nocalc(Object *ob) {
/* Let's figure out which bones need to be recalculated,
* and which don't. Calculations are based on which bones
* are selected, and the constraints that love them.
@@ -3486,6 +3488,7 @@ static int pose_do_update_flag(Object *ob) {
/* this is a confusing call, it also does the constraint update flags, but was not used...
hopefully transform refactor will take care better of it (ton) */
/* exposed int transform.c */
void figure_pose_updating(void)
{
Base *base;