From 7c78101621902e1dcd52d460d2dc16f55d7c32c1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 2 Sep 2013 08:29:09 +0000 Subject: [PATCH] Added IO test for new osgPresentation nodes --- examples/osgpresentation/osgpresentation.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/examples/osgpresentation/osgpresentation.cpp b/examples/osgpresentation/osgpresentation.cpp index adbff4965..f90ad58ef 100644 --- a/examples/osgpresentation/osgpresentation.cpp +++ b/examples/osgpresentation/osgpresentation.cpp @@ -13,6 +13,12 @@ #include #include #include +#include +#include +#include +#include +#include +#include #include #include @@ -110,6 +116,12 @@ int main(int argc, char** argv) layer->addChild(group.get()); group->addChild(element.get()); element->addChild(model.get()); + group->addChild(new osgPresentation::Model); + group->addChild(new osgPresentation::Text); + group->addChild(new osgPresentation::Audio); + group->addChild(new osgPresentation::Movie); + group->addChild(new osgPresentation::Volume); + viewer.setSceneData( presentation.get() );