Commit a1bac53c authored by Jan Möbius's avatar Jan Möbius
Browse files

Fixed cppcheck warning



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@15860 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 0002bd1f
......@@ -382,16 +382,19 @@ getRenderObjects(IRenderer* _renderer, GLState& _state , const DrawModes::DrawM
{
if( (points_.size()/2 == colors4f_.size()) ) {
// One color entry per line segment (alpha channel available
// One color entry per line segment (alpha channel available )
// TODO : Implement this mode
} else if ((line_mode_ == LineSegmentsMode) && (points_.size()/2 == colors_.size()) ) {
} else if ( points_.size()/2 == colors_.size() ) {
// One color entry per line segment (no alpha channel available and uchars as colors)
std::cerr << "Todo with old style colors" <<std::endl;
// TODO : Implement this mode
} else {
// No colors. Just draw the segments
std::cerr << "Todo without colors" <<std::endl;
// TODO : Implement this mode
}
......
......@@ -530,7 +530,6 @@ void StatusNodeT<Mesh, Mod>::getRenderObjects(IRenderer* _renderer,
ro.priority = 1;
// point list
if (points && !v_cache_.empty())
{
......
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