Commit a67450d5 by Philipp Adolf

Initialize variables

parent 6740be02
......@@ -471,7 +471,12 @@ QVector<unsigned int> Subdivision::getPatchIndexBuffer(QVector<unsigned int> ib)
//find last missing triangles.
{
bool found0,found1,found5,found9,found8,found11;
bool found0 = false;
bool found1 = false;
bool found5 = false;
bool found9 = false;
bool found8 = false;
bool found11 = false;
for (int j = 0; j < ib.length() - 2; j+=3){
unsigned int j0 = ib[j];
unsigned int j1 = ib[j+1];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment