diff --git a/src/osgWrappers/serializers/osgUI/Dialog.cpp b/src/osgWrappers/serializers/osgUI/Dialog.cpp index 422042768..62c8c7c41 100644 --- a/src/osgWrappers/serializers/osgUI/Dialog.cpp +++ b/src/osgWrappers/serializers/osgUI/Dialog.cpp @@ -11,4 +11,6 @@ REGISTER_OBJECT_WRAPPER( Dialog, "osg::Object osg::Node osg::Group osgUI::Widget osgUI::Dialog" ) { ADD_STRING_SERIALIZER( Title, std::string()); + ADD_METHOD( open ); + ADD_METHOD( close ); } diff --git a/src/osgWrappers/serializers/osgUI/Popup.cpp b/src/osgWrappers/serializers/osgUI/Popup.cpp index 423d08d40..0c414b02b 100644 --- a/src/osgWrappers/serializers/osgUI/Popup.cpp +++ b/src/osgWrappers/serializers/osgUI/Popup.cpp @@ -10,4 +10,6 @@ REGISTER_OBJECT_WRAPPER( Popup, osgUI::Popup, "osg::Object osg::Node osg::Group osgUI::Widget osgUI::Popup" ) { + ADD_METHOD( open ); + ADD_METHOD( close ); }