Added selection of first slide

This commit is contained in:
Robert Osfield 2009-05-05 10:27:59 +00:00
parent 602d83a486
commit 396e83dee3

View File

@ -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();