Commit 6b0b559e authored by wmayer's avatar wmayer
Browse files

0000914: Too large default distance between eyes for Stereo mode

parent 4344df85
......@@ -257,7 +257,7 @@
<double>2.000000000000000</double>
</property>
<property name="value">
<double>65.000000000000000</double>
<double>5.000000000000000</double>
</property>
<property name="prefEntry" stdset="0">
<cstring>EyeDistance</cstring>
......
......@@ -192,7 +192,7 @@ void AbstractSplitView::OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp
}
else if (strcmp(Reason,"EyeDistance") == 0) {
for (std::vector<View3DInventorViewer*>::iterator it = _viewer.begin(); it != _viewer.end(); ++it)
(*it)->setStereoOffset(rGrp.GetFloat("EyeDistance",65.0));
(*it)->setStereoOffset(rGrp.GetFloat("EyeDistance",5.0));
}
else if (strcmp(Reason,"CornerCoordSystem") == 0) {
for (std::vector<View3DInventorViewer*>::iterator it = _viewer.begin(); it != _viewer.end(); ++it)
......
......@@ -297,7 +297,7 @@ void View3DInventor::OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp::M
_viewer->navigationStyle()->setZoomStep(val);
}
else if (strcmp(Reason,"EyeDistance") == 0) {
_viewer->setStereoOffset(rGrp.GetFloat("EyeDistance",65.0));
_viewer->setStereoOffset(rGrp.GetFloat("EyeDistance",5.0));
}
else if (strcmp(Reason,"CornerCoordSystem") == 0) {
_viewer->setFeedbackVisibility(rGrp.GetBool("CornerCoordSystem",true));
......
Supports Markdown
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