HTREEITEM node = pWndOverlayTree->InsertItem (pChildGuiElement->getName().c_str(), parent, NULL) ;
Now the big problem is this:
Code: Select all
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!
Program: ...new\Samples\Common\bin\Debug\OverlayEditor.exe
File: g:\program files\ogre3d\ogrenew\...\ogreov...ger.cpp
Line: 54
Expression: ms_Singleton
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts
(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort Retry Ignore
---------------------------
And where should be BackgroundImageOverlay which is mentioned here:
Code: Select all
bool isBackgroundSet () {
return (OverlayManager::getSingleton ().getByName ("BackgroundImageOverlay") != NULL) ;
}