diff --git a/GraspPlanning/examples/GraspQuality/GraspQualityWindow.cpp b/GraspPlanning/examples/GraspQuality/GraspQualityWindow.cpp index 7bf61d3408098049dcf5c616d720acb85e57d747..405ed7080b77d91ad6861a04c52d7342069b51ce 100644 --- a/GraspPlanning/examples/GraspQuality/GraspQualityWindow.cpp +++ b/GraspPlanning/examples/GraspQuality/GraspQualityWindow.cpp @@ -386,7 +386,8 @@ void GraspQualityWindow::showGWS() gws2Sep->removeAllChildren(); ows1Sep->removeAllChildren(); ows2Sep->removeAllChildren(); - SoMatrixTransform *mt = CoinVisualizationFactory::getMatrixTransformMM(object->getGlobalPose()); + Eigen::Matrix4f m = object->getGlobalPose(); + SoMatrixTransform *mt = CoinVisualizationFactory::getMatrixTransformMM(m); #if 0 // test