Esempio n. 1
0
		private void menuItemNew_Click(object sender, System.EventArgs e)
		{
			//	We need to reset the scene.
			Scene scene = new Scene();
			scene.Initialise(openGLCtrlScene.Width, openGLCtrlScene.Height, SceneType.HighQuality);
			openGLCtrlScene.Scene = scene;

			//	Reset the current selection and scenetree.
			PopulateSceneTree();
			propertyGridCurrent.SelectedObject = null;
		}