Fixed a couple of problems with the NodeKit support.

This commit is contained in:
Robert Osfield
2002-06-07 11:32:18 +00:00
parent f8502a076c
commit 8140035ea8
3 changed files with 6 additions and 4 deletions

View File

@@ -151,6 +151,8 @@ void Registry::addDotOsgWrapper(DotOsgWrapper* wrapper)
std::string libraryName = proto->libraryName();
std::string compositeName = libraryName + "::" + name;
_objectWrapperMap[compositeName] = wrapper;
if (wrapper->getReadWriteMode()==DotOsgWrapper::READ_AND_WRITE) _classNameWrapperMap[proto->className()] = wrapper;
if (dynamic_cast<const Image*>(proto))