Commit 0add053f authored by bitplane's avatar bitplane

getMaterialCount in custom node example was non-const, reported by vitek

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1163 dfc29bdd-3216-0410-991c-e03cc46cb475
parent ccad8fff
...@@ -137,7 +137,7 @@ public: ...@@ -137,7 +137,7 @@ public:
return Box; return Box;
} }
virtual u32 getMaterialCount() virtual u32 getMaterialCount() const
{ {
return 1; return 1;
} }
......
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