From f1a7938afce6cc41038c47e4ff83f2af5c3c4ca0 Mon Sep 17 00:00:00 2001 From: Alex Isaacs Date: Mon, 10 Dec 2012 20:57:02 -0500 Subject: [PATCH] fixed ZoomStep for View3DInventor --- src/Gui/View3DInventor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/View3DInventor.cpp b/src/Gui/View3DInventor.cpp index 735ab91bc..c7dd94746 100644 --- a/src/Gui/View3DInventor.cpp +++ b/src/Gui/View3DInventor.cpp @@ -292,8 +292,8 @@ void View3DInventor::OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp::M bool on = rGrp.GetBool("ZoomAtCursor", false); _viewer->navigationStyle()->setZoomAtCursor(on); } - else if (strcmp(Reason,"ZoomSetp") == 0) { - float val = rGrp.GetFloat("ZoomSetp", 0.0f); + else if (strcmp(Reason,"ZoomStep") == 0) { + float val = rGrp.GetFloat("ZoomStep", 0.0f); _viewer->navigationStyle()->setZoomStep(val); } else if (strcmp(Reason,"EyeDistance") == 0) {