mirror of https://github.com/CGAL/cgal
Fix lookat
This commit is contained in:
parent
81cb46a8f5
commit
86759b3172
|
|
@ -3166,9 +3166,9 @@ void SubViewer::lookat()
|
||||||
if (viewer->camera()->frame()->isSpinning())
|
if (viewer->camera()->frame()->isSpinning())
|
||||||
viewer->camera()->frame()->stopSpinning();
|
viewer->camera()->frame()->stopSpinning();
|
||||||
mw->viewerShow(viewer,
|
mw->viewerShow(viewer,
|
||||||
(float)dialog.get_x(),
|
(float)dialog.get_x() + viewer->offset().x,
|
||||||
(float)dialog.get_y(),
|
(float)dialog.get_y() + viewer->offset().y,
|
||||||
(float)dialog.get_z());
|
(float)dialog.get_z() + viewer->offset().z);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue