From 50b8260a397cdf588cac2e4c92c5ac8ce6c24556 Mon Sep 17 00:00:00 2001 From: scrawl Date: Fri, 11 Mar 2016 18:21:55 +0100 Subject: [PATCH] Disable VBOs in RigGeometry while investigating a crash possibly related to commit cda8a88f0d9a9fb5f12e3a3 --- components/sceneutil/riggeometry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/sceneutil/riggeometry.cpp b/components/sceneutil/riggeometry.cpp index fd413acf4..c2a202342 100644 --- a/components/sceneutil/riggeometry.cpp +++ b/components/sceneutil/riggeometry.cpp @@ -71,8 +71,8 @@ RigGeometry::RigGeometry() setCullCallback(new UpdateRigGeometry); setUpdateCallback(new UpdateRigBounds); setSupportsDisplayList(false); - setUseVertexBufferObjects(true); - getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB); + //setUseVertexBufferObjects(true); + //getOrCreateVertexBufferObject()->setUsage(GL_DYNAMIC_DRAW_ARB); setComputeBoundingBoxCallback(new DummyComputeBoundCallback); }