Commit 26044167 authored by Shawn Waldon's avatar Shawn Waldon
Browse files

vtkHardwareSelector: initialize PropColorValue

Otherwise valgrid reports a conditional jump depends on uninitialized
value error in the first call to SetPropColorValue.
parent cc3063e6
......@@ -200,6 +200,7 @@ vtkHardwareSelector::vtkHardwareSelector()
}
this->CurrentPass = -1;
this->ProcessID = -1;
this->PropColorValue[0] = this->PropColorValue[1] = this->PropColorValue[2] = 0;
this->InPropRender = 0;
this->UseProcessIdFromData = false;
}
......
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