Merge with develop

--HG--
branch : compatibility-develop
hg/compatibility-develop
kervala 7 years ago
commit afef0699c9

@ -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]);
} }

@ -79,7 +79,7 @@ void CRadialVertices::init (INode *node, Mesh *mesh, TimeValue time, Interface &
{ {
// Output error message // Output error message
char msg[512]; char msg[512];
smprintf (msg, 512, "Can't find pivot node named '%s'", pivotName.c_str()); smprintf (msg, 512, "Can't find pivot node named '%s' of length %u", pivotName.c_str(), (uint)pivotName.length());
nelExport.outputErrorMessage (msg); nelExport.outputErrorMessage (msg);
} }
} }

Loading…
Cancel
Save