Commit abe83366 authored by hybrid's avatar hybrid

Change Debug data to u32 as it is a binary variable.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3685 dfc29bdd-3216-0410-991c-e03cc46cb475
parent a00b6408
...@@ -539,7 +539,7 @@ namespace scene ...@@ -539,7 +539,7 @@ namespace scene
/** A bitwise OR of the types from @ref irr::scene::E_DEBUG_SCENE_TYPE. /** A bitwise OR of the types from @ref irr::scene::E_DEBUG_SCENE_TYPE.
Please note that not all scene nodes support all debug data types. Please note that not all scene nodes support all debug data types.
\param state The debug data visibility state to be used. */ \param state The debug data visibility state to be used. */
virtual void setDebugDataVisible(s32 state) virtual void setDebugDataVisible(u32 state)
{ {
DebugDataVisible = state; DebugDataVisible = state;
} }
...@@ -547,7 +547,7 @@ namespace scene ...@@ -547,7 +547,7 @@ namespace scene
//! Returns if debug data like bounding boxes are drawn. //! Returns if debug data like bounding boxes are drawn.
/** \return A bitwise OR of the debug data values from /** \return A bitwise OR of the debug data values from
@ref irr::scene::E_DEBUG_SCENE_TYPE that are currently visible. */ @ref irr::scene::E_DEBUG_SCENE_TYPE that are currently visible. */
s32 isDebugDataVisible() const u32 isDebugDataVisible() const
{ {
return DebugDataVisible; return DebugDataVisible;
} }
...@@ -831,7 +831,7 @@ namespace scene ...@@ -831,7 +831,7 @@ namespace scene
u32 AutomaticCullingState; u32 AutomaticCullingState;
//! Flag if debug data should be drawn, such as Bounding Boxes. //! Flag if debug data should be drawn, such as Bounding Boxes.
s32 DebugDataVisible; u32 DebugDataVisible;
//! Is the node visible? //! Is the node visible?
bool IsVisible; bool IsVisible;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment