Preliminary support for wrapping methods in the lua script plugin.

This commit is contained in:
Robert Osfield
2013-12-25 17:36:32 +00:00
parent 865a47bd6b
commit afab78ed40
12 changed files with 466 additions and 39 deletions

View File

@@ -95,7 +95,8 @@ class ValueObject : public Object
virtual bool get(GetValueVisitor& /*gvv*/) const { return false; }
virtual bool set(SetValueVisitor& /*gvv*/) { return false; }
protected:
protected:
virtual ~ValueObject() {}
};
@@ -207,6 +208,7 @@ void osg::Object::setUserValue(const std::string& name, const T& value)
else udc->addUserObject(new UserValueObject(name,value));
}
}
#endif