Changed: Minor change

--HG--
branch : develop
This commit is contained in:
kervala 2018-01-03 14:52:39 +01:00
parent c5507b8728
commit cba3e90f32

View file

@ -265,7 +265,7 @@ bool CNelExport::exportAnim (const std::string &sPath, std::vector<INode*>& vect
{ {
// try to get the prefix from the appData if present. If not, takes it from the node name // try to get the prefix from the appData if present. If not, takes it from the node name
nodeName = CExportNel::getScriptAppData (vectNode[n], NEL3D_APPDATA_INSTANCE_NAME, ""); nodeName = CExportNel::getScriptAppData (vectNode[n], NEL3D_APPDATA_INSTANCE_NAME, "");
if (nodeName == "") // not found ? if (nodeName.empty()) // not found ?
{ {
nodeName=CExportNel::getName (*vectNode[n]); nodeName=CExportNel::getName (*vectNode[n]);
} }