Starting from 2021-07-01, all LRZ GitLab users will be required to explicitly accept the GitLab Terms of Service. Please see the detailed information at https://doku.lrz.de/display/PUBLIC/GitLab and make sure that your projects conform to the requirements.

Commit 29d78b68 authored by Hossain Mahmud's avatar Hossain Mahmud
Browse files

minor cleanup

parent 154f74c4
......@@ -74,20 +74,9 @@ namespace campvis {
return ret;
}
//std::string PropertyCollectionLua::getLuaScript(std::string propNamePrefix, std::string luaProc, bool dummy) {
// std::string ret = "";
// std::string _scriptPrefix = "";
// for (std::map<AbstractProperty*, AbstractPropertyLua*>::iterator it = _luaMap.begin(); it != _luaMap.end(); ++it) {
// ret += it->second->getLuaScript(propNamePrefix, luaProc) + "\n";
// //_scriptPrefix = luaProc;
// }
// return ret;
//}
void PropertyCollectionLua::addProperty(AbstractProperty* prop) {
AbstractPropertyLua* propWidget = PropertyLuaFactory::getRef().createPropertyLua(prop, _dataContainer);
if (propWidget == 0) {
printf("NOT IMPLEMENTED LUA PROPERTY !! %s\n", prop->getName().c_str());
return;
}
_luaMap.insert(std::make_pair(prop, propWidget));
......
......@@ -56,8 +56,6 @@ namespace campvis {
void addProperty(AbstractProperty* prop);
protected:
//std::string getLuaScript(std::string prefix, std::string luaProc, bool dummy);
HasPropertyCollection* _propCollection; ///< The HasPropertyCollection instance this widget is currently working on.
std::map<AbstractProperty*, AbstractPropertyLua*> _luaMap;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment