Skip to content

Commit

Permalink
Refs #6352. Switching SplatterPlot view to new property.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Jan 16, 2013
1 parent 2060174 commit b4f9f41
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "MantidVatesSimpleGuiViewWidgets/SplatterPlotView.h"


#include "pqActiveObjects.h"
#include "pqApplicationCore.h"
#include "pqDataRepresentation.h"
Expand Down Expand Up @@ -133,14 +134,11 @@ void SplatterPlotView::checkPeaksCoordinates()
{
if (!this->peaksSource.isEmpty())
{
/*
// Use this to get the correct parameter. Name and type can change, but
// input to set call below is integer.
int peakViewCoords = vtkSMPropertyHelper(this->origSrc->getProxy(),
"DataView").GetAsInt();
*/
// Remove below when above is fixed.
int peakViewCoords = 1;
"SpecialCoordinates").GetAsInt();
// Make commensurate with vtkPeakMarkerFactory
peakViewCoords--;

foreach(pqPipelineSource *src, this->peaksSource)
{
vtkSMPropertyHelper(src->getProxy(),
Expand Down

0 comments on commit b4f9f41

Please sign in to comment.