From: <es...@us...> - 2010-11-13 13:16:35
|
Revision: 2976 http://ogreaddons.svn.sourceforge.net/ogreaddons/?rev=2976&view=rev Author: esuvs Date: 2010-11-13 13:16:29 +0000 (Sat, 13 Nov 2010) Log Message: ----------- Fixed some uninitialized variables. Modified Paths: -------------- trunk/QtOgreFramework/QtOgre/source/Application.cpp Modified: trunk/QtOgreFramework/QtOgre/source/Application.cpp =================================================================== --- trunk/QtOgreFramework/QtOgre/source/Application.cpp 2010-09-20 09:30:50 UTC (rev 2975) +++ trunk/QtOgreFramework/QtOgre/source/Application.cpp 2010-11-13 13:16:29 UTC (rev 2976) @@ -48,14 +48,27 @@ Application::Application(int& argc, char** argv, GameLogic* gameLogic, IgnoredConfigWarningMode ignoredConfigWarningMode) :QApplication(argc, argv) + ,mFPSDialog(0) + ,mGraphicsSettingsWidget(0) + ,mOgreWidget(0) + ,mSettingsDialog(0) + ,mInternalOgreLog(0) + ,mInternalOgreLogManager(0) + ,mLogManager(0) + ,mOgreLog(0) + ,mSystemLog(0) + ,mActiveRenderSystem(0) ,mOpenGLRenderSystem(0) ,mDirect3D9RenderSystem(0) + ,mRoot(0) ,mFrameCounter(0) + ,mGameLogic(gameLogic) + ,mAutoUpdateTimer(0) + ,mSettings(0) ,mAutoUpdateEnabled(true) ,mIsInitialised(false) ,mIgnoredConfigWarningMode(ignoredConfigWarningMode) { - mGameLogic = gameLogic; if(mGameLogic != 0) { mGameLogic->mApplication = this; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |