stalker87
02-10-2008 01:10:37
Hi all again !
I've a strange problem with RenderBox. When i try to provide a custom rendertarget if i destroy the RenderBox the program crashes in this part of code...
mygui_iwidgetcreator.cpp
If i provide meshname or scenenode this not occurs...
I've a strange problem with RenderBox. When i try to provide a custom rendertarget if i destroy the RenderBox the program crashes in this part of code...
mygui_iwidgetcreator.cpp
/*!
@file
@author Albert Semenov
@date 03/2008
@module
*/
#include "MyGUI_IWidgetCreator.h"
#include "MyGUI_Widget.h"
namespace MyGUI
{
void IWidgetCreator::_deleteWidget(WidgetPtr _widget)
{
delete _widget; // <----- here!!!
}
} // namespace MyGUI
If i provide meshname or scenenode this not occurs...