Python-baed scene construction: fixed an issue reported by Sina Honari

metadata
Wenzel Jakob 2013-11-29 16:36:34 +01:00
parent 4ccee2340a
commit bb1da93876
1 changed files with 3 additions and 1 deletions

View File

@ -548,8 +548,10 @@ static ConfigurableObject *pluginmgr_create(PluginManager *manager, bp::dict dic
object = manager->createObject(properties);
for (std::map<std::string, ConfigurableObject *>::iterator it = children.begin();
it != children.end(); ++it)
it != children.end(); ++it) {
object->addChild(it->first, it->second);
it->second->setParent(object);
}
object->configure();
return object;