Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Scientific Software
Takin
TAS-Paths
Commits
7dbdc0c6
Verified
Commit
7dbdc0c6
authored
Nov 30, 2021
by
Tobias WEBER
Browse files
added a check
parent
c11f1417
Changes
2
Show whitespace changes
Inline
Side-by-side
src/gui/PathsTool.cpp
View file @
7dbdc0c6
...
@@ -2261,6 +2261,7 @@ void PathsTool::TrackPath(std::size_t idx)
...
@@ -2261,6 +2261,7 @@ void PathsTool::TrackPath(std::size_t idx)
m_dlgConfigSpace
->
SetBlockCalc
(
true
);
m_dlgConfigSpace
->
SetBlockCalc
(
true
);
BOOST_SCOPE_EXIT
(
&
m_dlgConfigSpace
)
BOOST_SCOPE_EXIT
(
&
m_dlgConfigSpace
)
{
{
if
(
m_dlgConfigSpace
)
m_dlgConfigSpace
->
SetBlockCalc
(
false
);
m_dlgConfigSpace
->
SetBlockCalc
(
false
);
}
BOOST_SCOPE_EXIT_END
}
BOOST_SCOPE_EXIT_END
...
...
src/gui/settings_variables.h
View file @
7dbdc0c6
...
@@ -261,7 +261,7 @@ constexpr std::array<SettingsVariable, 26> g_settingsvariables
...
@@ -261,7 +261,7 @@ constexpr std::array<SettingsVariable, 26> g_settingsvariables
.
editor_config
=
"Shortest Path;;Avoid Walls"
,
.
editor_config
=
"Shortest Path;;Avoid Walls"
,
},
},
{
{
.
description
=
"Try direct path"
,
.
description
=
"Try
using
direct path
segments
"
,
.
key
=
"settings/try_direct_path"
,
.
key
=
"settings/try_direct_path"
,
.
value
=
&
g_try_direct_path
,
.
value
=
&
g_try_direct_path
,
.
editor
=
SettingsVariableEditor
::
YESNO
,
.
editor
=
SettingsVariableEditor
::
YESNO
,
...
...
Write
Preview
Markdown
is supported
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