Blender Git Loki

Git Commits -> Revision 7fe067b

April 5, 2017, 03:54 (GMT)
initial commit: call the `playanim_window_open` only once

immInit should only be called once per application.
However, immediate mode only works if a GHOST window is created.
But every time you drop a video in the anim player, `GHOST_DisposeWindow` is called and a new window is created next. Forcing destroy and init a new immediate mode context :

This patch changes the order of things. And call `GHOST_SetClientSize` intead `GHOST_CreateSystem`, `GHOST_CreateEventConsumer`, `GHOST_AddEventConsumer` and `playanim_window_open`.

Commit Details:

Full Hash: 7fe067b1a39c4ab4cfef83f981d0a1bdb4571017
Parent Commit: 064eba2
Lines Changed: +161, -169

1 Modified Path:

/source/blender/windowmanager/intern/wm_playanim.c (+161, -169) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021