! Refract source code
This commit is contained in:
+2
-2
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user