! Refract source code
This commit is contained in:
parent
777a2b8ed7
commit
7b62d5715d
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue