itsalamanca
04-12-2008 09:36:26
hi,
I have made a window with a render box, some buttons and 3 panels.
In the render box i am going to add some entitys in some scenenodes.
the problems cames when i'm try to clear the window. I push the button cancel.
I have implemented this method:
I obtend a execute mistake, type "no send".
I use the debugger and it shows some problem with the renderbox. It shows me a code of mygui_renderbox.cpp.
So, i try to clear the renderbox, but the mistake is still here.
the .logs don't give me any help or information about that.
somebody some ideas??
I have made a window with a render box, some buttons and 3 panels.
In the render box i am going to add some entitys in some scenenodes.
the problems cames when i'm try to clear the window. I push the button cancel.
I have implemented this method:
void accionCancelar(MyGUI::WidgetPtr _sender)
{
MyGUI::WindowPtr ventana=rGUI->findWidget<MyGUI::Window>("ventananuevapieza");
ventana->destroySmooth();
}
I obtend a execute mistake, type "no send".
I use the debugger and it shows some problem with the renderbox. It shows me a code of mygui_renderbox.cpp.
void RenderBox::clear()
{
setRotationAngle(Ogre::Degree(0));
//if (mEntity) {
//Ogre::SkeletonManager::getSingleton().remove();
//mNode->detachObject(mEntity);
mScene->destroyAllEntities();
mNode->removeAndDestroyAllChildren();
mVectorEntity.clear();
mEntity = 0;
mEntityState = null;
//}
}
So, i try to clear the renderbox, but the mistake is still here.
the .logs don't give me any help or information about that.
somebody some ideas??