lianlab / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

winsize defined by the user is always overwriten with Blender::Scene data. #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
in main.cpp the user can set(m_prefs.winsize) but it is always ignored due
gkBlendFile::_parse function overwrites it from blend file...

See in gkBlendFile::_parse:

            gkUserDefs &defs = gkEngine::getSingleton().getUserDefs();
            defs.winsize.x = (gkScalar)sc->r.xplay;
            defs.winsize.y = (gkScalar)sc->r.yplay;
            defs.fullscreen = sc->r.fullscreen != 0;

Original issue reported on code.google.com by silveira.nestor@gmail.com on 17 Feb 2010 at 10:54

GoogleCodeExporter commented 9 years ago
updated

Original comment by snailr...@gmail.com on 17 Feb 2010 at 2:55