Fixed: AIS crash if variable not initialized (forgot to commit)

--HG--
branch : develop
hg/feature/material-editor
kervala 9 years ago
parent e60b630d09
commit fc96bdf46d

@ -431,8 +431,8 @@ std::string CStateInstance::getStrNelVar(std::string const& varId)
return ""; return "";
} }
_StrNelVar[varId] = new NLMISC::CVariable<std::string>("StateInstanceVar", varId.c_str(), "", std::string()); _StrNelVar[varId] = new NLMISC::CVariable<std::string>("StateInstanceStrVar", varId.c_str(), "", std::string());
return _NelVar[varId]->get(); return _StrNelVar[varId]->get();
} }
inline inline

Loading…
Cancel
Save