Scenemanager switches from type ESNT_UNKNOWN to type ESNT_SCENE_MANAGER.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3867 dfc29bdd-3216-0410-991c-e03cc46cb475
master
cutealien 2011-06-23 12:55:31 +00:00
parent ffa921055e
commit 98b7d10ec9
3 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Changes in 1.8 (??.??.2011)
- Scenemanager switches from type ESNT_UNKNOWN to type ESNT_SCENE_MANAGER.
- Add getActiveFont to all elements which have setOverrideFont for cleaner code
- Add getOverrideFont to all elements which have setOverrideFont to have a consistent interface

View File

@ -18,6 +18,8 @@ namespace scene
name clashes with external scene nodes.*/
enum ESCENE_NODE_TYPE
{
ESNT_SCENE_MANAGER = MAKE_IRR_ID('s','m','n','g'),
//! simple cube scene node
ESNT_CUBE = MAKE_IRR_ID('c','u','b','e'),

View File

@ -433,7 +433,7 @@ namespace scene
virtual ISceneManager* createNewSceneManager(bool cloneContent);
//! Returns type of the scene node
virtual ESCENE_NODE_TYPE getType() const { return ESNT_UNKNOWN; }
virtual ESCENE_NODE_TYPE getType() const { return ESNT_SCENE_MANAGER; }
//! Returns the default scene node factory which can create all built in scene nodes
virtual ISceneNodeFactory* getDefaultSceneNodeFactory();