Commit 12d73a8a authored by reichenbach's avatar reichenbach

[FIX] knobs now move with the dataset in the dataset manipulator module

parent 60e3bd3b
...@@ -191,7 +191,8 @@ void WMDatasetManipulator::init() ...@@ -191,7 +191,8 @@ void WMDatasetManipulator::init()
void WMDatasetManipulator::setManipulatorsFromBoundingBox() void WMDatasetManipulator::setManipulatorsFromBoundingBox()
{ {
WBoundingBox bb = m_grid->getBoundingBox(); WGridRegular3D g( m_grid->getNbCoordsX(), m_grid->getNbCoordsY(), m_grid->getNbCoordsZ(), *m_transform );
WBoundingBox bb = g.getBoundingBox();
m_posCenter = bb.center(); m_posCenter = bb.center();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment