Give a more meaningfull name to the default 3D View.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2010 11:02:45 +0000 (11:02 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2010 11:02:45 +0000 (11:02 +0000)
EVE/alieve_main/alieve_main.cxx

index 251ef06..16c1648 100644 (file)
@@ -23,6 +23,7 @@
 #include <TEveManager.h>
 #include <TEveSelection.h>
 #include <TEveBrowser.h>
+#include <TEveViewer.h>
 
 #include <Getline.h>
 
@@ -75,6 +76,7 @@ int main(int argc, char **argv)
 #endif
 
   TEveManager::Create();
+  gEve->GetDefaultViewer()->SetElementName("3D View");
   gEve->GetSelection()->SetPickToSelect(TEveSelection::kPS_PableCompound);
   gEve->GetHighlight()->SetPickToSelect(TEveSelection::kPS_PableCompound);