Commit 435fcc88 authored by Christopher Tenter's avatar Christopher Tenter
Browse files

missing check for SOLID_FACES_COLORED_SMOOTH_SHADED added

 refs #398

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13533 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ac4e7b72
...@@ -1233,7 +1233,7 @@ unsigned int DepthPeelingPlugin::getPeelShaderIndex(ACG::SceneGraph::DrawModes:: ...@@ -1233,7 +1233,7 @@ unsigned int DepthPeelingPlugin::getPeelShaderIndex(ACG::SceneGraph::DrawModes::
bool flat = _drawMode & ACG::SceneGraph::DrawModes::SOLID_FLAT_SHADED; bool flat = _drawMode & ACG::SceneGraph::DrawModes::SOLID_FLAT_SHADED;
bool phong = _drawMode & ACG::SceneGraph::DrawModes::SOLID_PHONG_SHADED; bool phong = _drawMode & ACG::SceneGraph::DrawModes::SOLID_PHONG_SHADED;
bool vertexColor = _drawMode & ACG::SceneGraph::DrawModes::SOLID_FACES_COLORED || _drawMode & ACG::SceneGraph::DrawModes::SOLID_FACES_COLORED_FLAT_SHADED || bool vertexColor = _drawMode & ACG::SceneGraph::DrawModes::SOLID_FACES_COLORED || _drawMode & ACG::SceneGraph::DrawModes::SOLID_FACES_COLORED_FLAT_SHADED ||
_drawMode & ACG::SceneGraph::DrawModes::SOLID_POINTS_COLORED || _drawMode & ACG::SceneGraph::DrawModes::POINTS_COLORED; _drawMode & ACG::SceneGraph::DrawModes::SOLID_POINTS_COLORED || _drawMode & ACG::SceneGraph::DrawModes::POINTS_COLORED || _drawMode & ACG::SceneGraph::DrawModes::SOLID_FACES_COLORED_SMOOTH_SHADED;
bool gouraud = _drawMode & ACG::SceneGraph::DrawModes::SOLID_SMOOTH_SHADED; bool gouraud = _drawMode & ACG::SceneGraph::DrawModes::SOLID_SMOOTH_SHADED;
......
Supports Markdown
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