Bugfix #4609
ESC for OpenGL render (in anim) was hanging, so a 2nd anim render always returned immediately. Own bug collection: the SHIFT+NumPad-0 option didn't do an undo-push.
This commit is contained in:
@@ -1223,6 +1223,9 @@ void BIF_do_ogl_render(View3D *v3d, int anim)
|
||||
|
||||
/* open window */
|
||||
renderwin_init_display_cb(rr);
|
||||
if(render_win)
|
||||
render_win->flags &= ~RW_FLAGS_ESCAPE;
|
||||
|
||||
init_gl_stuff();
|
||||
|
||||
waitcursor(1);
|
||||
|
||||
@@ -285,6 +285,7 @@ void persptoetsen(unsigned short event)
|
||||
void setcameratoview3d(void); // view.c
|
||||
setcameratoview3d();
|
||||
DAG_object_flush_update(G.scene, G.scene->camera, OB_RECALC_OB);
|
||||
BIF_undo_push("View to Camera position");
|
||||
allqueue(REDRAWVIEW3D, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user