From b83e094b591e5d885b0b26f22003d34b9396fef5 Mon Sep 17 00:00:00 2001
From: Marko Petric <marko.petric@cern.ch>
Date: Wed, 13 May 2015 12:03:32 +0000
Subject: [PATCH] Added "SetSelectable(kFalse)" removes the bulky behaviour
 when a lot a volumes present.

---
 UtilityApps/src/teve_display.cpp | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/UtilityApps/src/teve_display.cpp b/UtilityApps/src/teve_display.cpp
index 4fc52e021..b0959687a 100644
--- a/UtilityApps/src/teve_display.cpp
+++ b/UtilityApps/src/teve_display.cpp
@@ -50,6 +50,10 @@
 
 #include "TGeoShape.h"
 
+
+#include "TGLScenePad.h"
+
+
 using namespace DD4hep ;
 using namespace DDRec ;
 using namespace Geometry ;
@@ -115,6 +119,9 @@ static long teve_display(LCDD& lcdd, int /* argc */, char** /* argv */) {
   v->RefreshPadEditor(v);
   //  v->CurrentCamera().RotateRad(-1.2, 0.5);
 
+  gEve->GetGlobalScene()->GetGLScene()->SetSelectable(kFALSE);
+
+
   MultiView::instance()->ImportGeomRPhi( surfaces );
   MultiView::instance()->ImportGeomRhoZ( surfaces ) ;
   MultiView::instance()->ImportGeomRPhi( helperSurfaces );
-- 
GitLab