Esempio n. 1
0
 /// <summary>
 /// Shows the meshpanel and have it load the selected meshes
 /// </summary>
 /// <param name="Mesh"></param>
 public void SelectMesh(ISBMesh[] Mesh)
 {
     if (ParentViewportPanel.Viewport.Scene == null)
     {
         return;
     }
     MeshPanel.SetSelectedMeshFromScene(ParentViewportPanel.Viewport.Scene);
 }
Esempio n. 2
0
 /// <summary>
 /// Shows the meshpanel and have it load the selected meshes
 /// </summary>
 /// <param name="Mesh"></param>
 public void SelectMesh(ISBMesh[] Mesh)
 {
     ResetControls();
     if (Viewport.Scene == null)
     {
         return;
     }
     MeshPanel.SetSelectedMeshFromScene(Viewport.Scene);
     if (Mesh != null && Mesh.Length > 0)
     {
         MeshPanel.Visible = true;
     }
 }