From: srn Date: Tue, 26 Jun 2007 10:30:53 +0000 (+0000) Subject: Changed incorrect condition in method GetPrimitiveType. BugID : 16313 X-Git-Tag: start_BR_MULTIPR_INDUS X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f71cb5cd2a72115f7ba7a128a5d364acfd11d0f9;p=modules%2Fvisu.git Changed incorrect condition in method GetPrimitiveType. BugID : 16313 --- diff --git a/src/PIPELINE/VISU_GaussPointsPL.cxx b/src/PIPELINE/VISU_GaussPointsPL.cxx index 1d8bcbe5..dc9bc137 100644 --- a/src/PIPELINE/VISU_GaussPointsPL.cxx +++ b/src/PIPELINE/VISU_GaussPointsPL.cxx @@ -424,9 +424,10 @@ VISU_GaussPointsPL int VISU_GaussPointsPL ::GetPrimitiveType() -{ - if( myPassFilter[2]->GetInput() != myPassFilter[1]->GetOutput() ) +{ + if( myPassFilter[2]->GetInput() == myPassFilter[1]->GetOutput() ) { return VISU_OpenGLPointSpriteMapper::GeomSphere; + } return GetPointSpriteMapper()->GetPrimitiveType(); }