Bugfix #5434: Animation (alt-a / timeline) will not play if Sta:
frame set higher than End: frame The end frame should not be allowed to have a value less than the start frame. This commit sets the minimum allowable value of the end frame button in the Anim panel and the timeline to the start frame value. Ton/Matt - if there is a good reason to not do this, feel free to revert it back.
This commit is contained in:
@@ -1305,7 +1305,7 @@ static void render_panel_anim(void)
|
||||
|
||||
uiBlockBeginAlign(block);
|
||||
uiDefButI(block, NUM,REDRAWSEQ,"Sta:",692,10,94,24, &G.scene->r.sfra,1.0,MAXFRAMEF, 0, 0, "The start frame of the animation");
|
||||
uiDefButI(block, NUM,REDRAWSEQ,"End:",789,10,95,24, &G.scene->r.efra,1.0,MAXFRAMEF, 0, 0, "The end frame of the animation");
|
||||
uiDefButI(block, NUM,REDRAWSEQ,"End:",789,10,95,24, &G.scene->r.efra,SFRA,MAXFRAMEF, 0, 0, "The end frame of the animation");
|
||||
uiBlockEndAlign(block);
|
||||
}
|
||||
|
||||
|
||||
@@ -429,7 +429,7 @@ void time_buttons(ScrArea *sa)
|
||||
|
||||
uiDefButI(block, NUM, REDRAWALL,"End:",
|
||||
xco,0,4.5*XIC,YIC,
|
||||
&G.scene->r.efra,MINFRAMEF,MAXFRAMEF, 0, 0,
|
||||
&G.scene->r.efra,SFRA,MAXFRAMEF, 0, 0,
|
||||
"The end frame of the animation");
|
||||
uiBlockEndAlign(block);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user