Commit 1b01cc54 authored by Mike Kremer's avatar Mike Kremer

Removed option to set fovy for each examiner individually.

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@10378 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2233bd7b
......@@ -1203,8 +1203,8 @@ void ViewControlPlugin::perspectiveProjection(int _viewer) {
PluginFunctions::perspectiveProjection(_viewer);
}
void ViewControlPlugin::setFOVY( double _fovy, int _viewer ) {
PluginFunctions::setFOVY(_fovy, _viewer);
void ViewControlPlugin::setFOVY( double _fovy ) {
PluginFunctions::setFOVY(_fovy);
emit updateView();
}
......@@ -1261,9 +1261,6 @@ void ViewControlPlugin::setDescriptions() {
emit setSlotDescription("perspectiveProjection(int)", "Change all Viewers to perspective projection",
QStringList("Viewer"), QStringList("Id of the viewer to change"));
emit setSlotDescription("setFOVY(double,int)", "Set fovy angle of projection for a viewer.",
QString("fovy;viewer").split(";"), QString("FOVY angle;Id of the target viewer").split(";"));
emit setSlotDescription("setFOVY(double)", "Set fovy angle of projection for all viewers.",
QStringList("fovy"), QStringList("FOVY angle"));
......
......@@ -282,7 +282,7 @@ class ViewControlPlugin : public QObject, BaseInterface , PickingInterface, Logg
void perspectiveProjection(int _viewer);
/// Set fovy angle of projection
void setFOVY( double _fovy, int _viewer = PluginFunctions::ALL_VIEWERS );
void setFOVY( double _fovy );
};
......
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