Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FreeCAD
FreeCAD
Commits
f1a7938a
Commit
f1a7938a
authored
Dec 10, 2012
by
Alex Isaacs
Browse files
fixed ZoomStep for View3DInventor
parent
bd5359f5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Gui/View3DInventor.cpp
View file @
f1a7938a
...
...
@@ -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
,
"ZoomS
e
tp"
)
==
0
)
{
float
val
=
rGrp
.
GetFloat
(
"ZoomS
e
tp"
,
0.0
f
);
else
if
(
strcmp
(
Reason
,
"ZoomSt
e
p"
)
==
0
)
{
float
val
=
rGrp
.
GetFloat
(
"ZoomSt
e
p"
,
0.0
f
);
_viewer
->
navigationStyle
()
->
setZoomStep
(
val
);
}
else
if
(
strcmp
(
Reason
,
"EyeDistance"
)
==
0
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment