* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding bones

* Fixes for compiler warnings
This commit is contained in:
Joshua Leung
2008-03-05 03:59:44 +00:00
parent f588900909
commit db85f0f39a
3 changed files with 3 additions and 2 deletions

View File

@@ -3919,7 +3919,6 @@ void expand_obscuregroups_action (void)
bAction *act;
bActionChannel *achan;
short mode= 1;
/* Get the selected action, exit if none are selected */
data = get_action_context(&datatype);

View File

@@ -3479,6 +3479,7 @@ void hide_unselected_pose_bones(void)
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWBUTSEDIT, 0);
allqueue(REDRAWACTION, 0);
BIF_undo_push("Hide Unselected Bone");
}
@@ -3511,6 +3512,7 @@ void show_all_pose_bones(void)
allqueue(REDRAWVIEW3D, 0);
allqueue(REDRAWBUTSEDIT, 0);
allqueue(REDRAWACTION, 0);
BIF_undo_push("Reveal Bones");
}

View File

@@ -245,7 +245,7 @@ extern void winlay_get_screensize(int *width_r, int *height_r);
int main(int argc, char **argv)
{
int a, i, stax, stay, sizx, sizy;
int a, i, stax=0, stay=0, sizx, sizy;
SYS_SystemHandle syshandle;
Scene *sce;