createSceneManager deprecated warning

Problems building or running the engine, queries about how to use features etc.
Post Reply
Posts: 111
Joined: Wed Jan 19, 2005 4:48 am
x 5

createSceneManager deprecated warning

Post by libolt »

Ogre Version: 1.11 :?:
Operating System: Windows 10 :?:
Render System:GL :?:

I have used createSceneManager in my code since the early 1.x days. More recently I have been getting a compiler warning that it is deprecated. Is there a replacement I should be using or a different way of doing things? Below is how I currently use it in my game.

Code: Select all

    mSceneMgr = sharedPtr<Ogre::SceneManager>(RERoot->createSceneManager(Ogre::ST_GENERIC)); // creates the scene manager

OGRE Team Member
OGRE Team Member
Posts: 1125
Joined: Sun Mar 30, 2014 2:51 pm
x 410

Re: createSceneManager deprecated warning

Post by paroj »

yes, use any of the other two overloads: ... 9278c1b0f9

Post Reply