]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To restore from bad fix
authorapo <apo@opencascade.com>
Wed, 27 Jun 2007 13:42:48 +0000 (13:42 +0000)
committerapo <apo@opencascade.com>
Wed, 27 Jun 2007 13:42:48 +0000 (13:42 +0000)
src/PIPELINE/VISU_GaussPointsPL.cxx

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