[vtk-developers] Glyph3DMapper valgrind defects

Bill Lorensen bill.lorensen at gmail.com
Sun Feb 19 23:36:12 EST 2012


David,

The Glyph3DMapper is causing several valgrind defects.
http://open.cdash.org/viewDynamicAnalysis.php?buildid=2018651

These are because UseSelectionIds is not initialized in the constructor.
Either
  this->UseSelectionIds = false;
or
  this->UseSelectionIds = true;
should be present in the constructor. I would have made the change,
but I don't know the intended default.

Also, the documentation for is incorrect. Looks like a copy/paste error.
  vtkSetMacro(UseSelectionIds, bool);
  vtkBooleanMacro(UseSelectionIds, bool);
  vtkGetMacro(UseSelectionIds, bool);

Thanks,

Bill
-- 
Unpaid intern in BillsBasement at noware dot com



More information about the vtk-developers mailing list