From f71cb5cd2a72115f7ba7a128a5d364acfd11d0f9 Mon Sep 17 00:00:00 2001 From: srn Date: Tue, 26 Jun 2007 10:30:53 +0000 Subject: [PATCH] Changed incorrect condition in method GetPrimitiveType. BugID : 16313 --- src/PIPELINE/VISU_GaussPointsPL.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); } -- 2.39.2