From 396e83dee396cd70b2ad13ea497ef9b459bfc90b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 5 May 2009 10:27:59 +0000 Subject: [PATCH] Added selection of first slide --- applications/present3D/present3D.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/applications/present3D/present3D.cpp b/applications/present3D/present3D.cpp index cfb43d8d2..2eefc3399 100644 --- a/applications/present3D/present3D.cpp +++ b/applications/present3D/present3D.cpp @@ -450,6 +450,8 @@ int main( int argc, char **argv ) { viewer.setSceneData(holdingModel.get()); + seh->selectSlide(0); + if (!viewerInitialized) { // pass the global stateset to the point event handler so that it can @@ -570,6 +572,7 @@ int main( int argc, char **argv ) // pass the model to the slide event handler so it knows which to manipulate. seh->set(loadedModel.get()); + seh->selectSlide(0); seh->home();