Пример #1
0
//----------------------------------------------------------------------------
void MainFrame::OnNew (wxCommandEvent &e)
{
	EditMap *map = EditSystem::GetSingleton().GetEditMap();
	map->NewScene();

	mRenderView->SetScene(map->GetScene()->GetSceneNode());

	ViewCtrlInstMan::GetSingleton().GetCurViewCtrlInst()
		->SetInteractionMode(IM_GENERAL);
}
Пример #2
0
//----------------------------------------------------------------------------
void E_MainFrame::OnNewScene()
{
	EditMap *map = PX2_EDIT.GetEditMap();
	map->NewScene();
}