|
(0027545)
|
|
Sebastien Jourdain
|
|
2011-10-07 13:26
|
|
A quick fix for that bug: Need to validate that with Sankhesh
=========================
diff --git a/ParaViewCore/VTKExtensions/vtkPVGlyphFilter.cxx b/ParaViewCore/VTKExtensions/vtkPVGlyphFilter.cxx
index 494ad12..508da4b 100644
--- a/ParaViewCore/VTKExtensions/vtkPVGlyphFilter.cxx
+++ b/ParaViewCore/VTKExtensions/vtkPVGlyphFilter.cxx
@@ -477,7 +477,7 @@ void vtkPVGlyphFilter::CalculatePtsToGlyph(double PtsNotBlanked)
// Identify the first point to glyph.
- if(this->RandomMode)
+ if(this->RandomMode && this->RandomPtsInDataset.size() > 0)
{
this->BlockNextPoint = this->RandomPtsInDataset[0];
} |
|