Maya 2008 devkit incorrect code

Maya 2008 devkit incorrect code

Anonymous
Not applicable
408 Views
0 Replies
Message 1 of 1

Maya 2008 devkit incorrect code

Anonymous
Not applicable
"\Maya2008\devkit\plug-ins\scanDagCmd.cpp"
Incorrect code in doScan() function:

if (traversalType == MItDag::kBreadthFirst)
if (!quiet)
cout << endl << "Starting Breadth First scan of the Dag";
else
if (!quiet)
cout << endl << "Starting Depth First scan of the Dag";


Correct:

if (traversalType == MItDag::kBreadthFirst)
{
if (!quiet)
cout << endl << "Starting Breadth First scan of the Dag";
}
else
{
if (!quiet)
cout << endl << "Starting Depth First scan of the Dag";
}


P.S. In Maya 8.x too...
0 Likes
409 Views
0 Replies
Replies (0)