! Refract source code

This commit is contained in:
indigo 2023-09-24 21:17:28 +08:00
parent 777a2b8ed7
commit 7b62d5715d
1 changed files with 2 additions and 2 deletions

View File

@ -263,10 +263,10 @@ MStatus MeshInfoCmd::doIt(const MArgList & args)
std::string meshInfo_s = meshInfo.dump(4); std::string meshInfo_s = meshInfo.dump(4);
if (fileGen) if (fileGen){
{
MString filePath; MString filePath;
argData.getFlagArgument(kFileFlag, 0, filePath); argData.getFlagArgument(kFileFlag, 0, filePath);
std::ofstream out(filePath.asChar()); std::ofstream out(filePath.asChar());
out << meshInfo_s; out << meshInfo_s;
out.close(); out.close();