* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding bones
* Fixes for compiler warnings
This commit is contained in:
@@ -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);
|
||||
|
@@ -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");
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user