]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Changed incorrect condition in method GetPrimitiveType. BugID : 16313 start_BR_MULTIPR_INDUS
authorsrn <srn@opencascade.com>
Tue, 26 Jun 2007 10:30:53 +0000 (10:30 +0000)
committersrn <srn@opencascade.com>
Tue, 26 Jun 2007 10:30:53 +0000 (10:30 +0000)
src/PIPELINE/VISU_GaussPointsPL.cxx

index 1d8bcbe5915d0c71b4d878480885ae699ab79ff0..dc9bc13715b98ca94c14dbe7e88333feea7293bc 100644 (file)
@@ -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();
 }