Commit 2bed372f authored by Isaak Lim's avatar Isaak Lim

map to black also sets the alpha channel to 0 so it is possible to hide the...

map to black also sets the alpha channel to 0 so it is possible to hide the primitives in question by using the alpha test

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20097 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4a8901ac
......@@ -82,7 +82,7 @@ void OVMPropertyVisualizerInteger<MeshT, T>::visualizeProp(PropType prop, Entity
std::map< int, ACG::Vec4f> randomColor;
if ( integerWidget->intRandom->isChecked() && integerWidget->intMapBlack->isChecked() )
randomColor[ integerWidget->intMapBlackValue->value() ] = ACG::Vec4f(0.0, 0.0, 0.0, 1.0);
randomColor[ integerWidget->intMapBlackValue->value() ] = ACG::Vec4f(0.0, 0.0, 0.0, 0.0);
T min = mNumericLimitMax;
T max = mNumericLimitMin;
......
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