Skip to content

Commit

Permalink
Refs #6541. Fix SQW loading presenter to set axis labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Feb 21, 2013
1 parent c78d5ef commit 6a97be0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Code/Mantid/Vates/VatesAPI/src/SQWLoadingPresenter.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "MantidVatesAPI/SQWLoadingPresenter.h"
#include "MantidVatesAPI/Common.h"
#include "MantidVatesAPI/MDLoadingView.h"
#include "MantidVatesAPI/ProgressAction.h"
#include "MantidVatesAPI/vtkDataSetFactory.h"
Expand Down Expand Up @@ -106,6 +107,7 @@ namespace Mantid
for (size_t d=0; d<nDimensions; d++)
{
IMDDimension_const_sptr inDim = eventWs->getDimension(d);
axisLabels.push_back(makeAxisTitle(inDim));
//Copy the dimension, but set the ID and name to be the same. This is an assumption in bintohistoworkspace.
MDHistoDimension_sptr dim(new MDHistoDimension(inDim->getName(), inDim->getName(), inDim->getUnits(), inDim->getMinimum(), inDim->getMaximum(), size_t(10)));
dimensions.push_back(dim);
Expand Down

0 comments on commit 6a97be0

Please sign in to comment.