From 351f98b10d772efeb0d867103dafd4b5873e82a5 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 23 Sep 2013 14:10:36 +0000 Subject: [PATCH] Added test for osgGA::GUIEventAdapter --- examples/osgpresentation/osgpresentation.cpp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/examples/osgpresentation/osgpresentation.cpp b/examples/osgpresentation/osgpresentation.cpp index 3104f8810..c45f6919d 100644 --- a/examples/osgpresentation/osgpresentation.cpp +++ b/examples/osgpresentation/osgpresentation.cpp @@ -402,6 +402,24 @@ int main(int argc, char** argv) PRINT_TYPE(presentation.get(), mystring) PRINT_TYPE(presentation.get(), mymatrix) + + osg::ref_ptr event = new osgGA::GUIEventAdapter; + if (pi.getSupportedProperties(event.get(), properties, true)) + { + OSG_NOTICE<<"Have supported properites found."<first<<", "<second)<