Commit a44448bc authored by Jan Möbius's avatar Jan Möbius

Fixed warning with sceneCenter returning reference

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10461 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 90747d89
......@@ -763,7 +763,7 @@ void setSceneCenter(const ACG::Vec3d& _center, int _viewer) {
}
}
const ACG::Vec3d& sceneCenter(int _viewer) {
const ACG::Vec3d sceneCenter(int _viewer) {
if (_viewer == ACTIVE_VIEWER) {
return examiner_widgets_[activeExaminer_]->scene_center();
......
......@@ -237,12 +237,6 @@ void setEncodedExaminerView(int _viewerId , QString _view );
DLLEXPORT
void setSceneCenter(const ACG::Vec3d& _center, int _viewer );
/**
* Get scene center
*/
DLLEXPORT
const ACG::Vec3d& sceneCenter( int _viewer );
/** Execute picking operation on scenegraph
* This picking function will pick in the last active examiner context which is automatically
* Set by mouseevents from the core
......
......@@ -207,7 +207,7 @@ void setScenePos(const ACG::Vec3d& _center , int _viewer = ALL_VIEWERS);
*
*/
DLLEXPORT
const ACG::Vec3d& sceneCenter( int _viewer = ALL_VIEWERS );
const ACG::Vec3d sceneCenter( int _viewer = ALL_VIEWERS );
/** \brief Returns the current scene radius from the active examiner widget
*
......
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