Blender Git Commit Log

Git Commits -> Revision 3a4c307

Revision 3a4c307 by Mitchell Stokes (master)
July 28, 2016, 02:00 (GMT)
Use COMPAT_ENGINES instead of RenderEngine.use_game_engine for panel poll methods

This mostly affects physics panels. Any engines relying on
RenderEngine.use_game_engine flag to show/hide panels will need to be
updated. The COMPAT_ENGINES technique is how we usually deal with this.
One issue with use_game_engine is that I cannot find a way to set it; it
appears only the BGE can set it. This means (without this commit)
external RenderEngines cannot get rid of the default physics panels.

The RE_GAME flag (the C flag behind use_game_engine) is pretty hacky
and we should look into removing its usage where possible.

Commit Details:

Full Hash: 3a4c307652e7e58aace0384d7306b28b7626a1d9
Parent Commit: a27acef
Lines Changed: +72, -31

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019