Author: thiago
Date: Thu Feb 7 12:51:08 2008
New Revision: 2042
Modified:
trunk/scenes/triangleSceneViewer.cc
Log:
fixing kdtree and CGT not working after the previous commit.
Modified: trunk/scenes/triangleSceneViewer.cc
=== === === =====================================================================
--- trunk/scenes/triangleSceneViewer.cc (original)
+++ trunk/scenes/triangleSceneViewer.cc Thu Feb 7 12:51:08 2008
@@ -175,6 +175,7 @@
// the animation class.
Mesh* singleFrame = LoadModel(fileNames[0], triangleType, useFaceNormals, interpolateNormals);
as->setGroup(singleFrame);
+ as->rebuild();
group->add(as);
}
Archive powered by MHonArc 2.6.16.