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
Guilhem Saurel
hpp-gui
Commits
97a4511f
Commit
97a4511f
authored
Feb 20, 2017
by
Joseph Mirabel
Committed by
Joseph Mirabel
Feb 20, 2017
Browse files
Fix createJointGroup
parent
9b3c0d8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/hppwidgetsplugin/hppwidgetsplugin.cc
View file @
97a4511f
...
...
@@ -492,6 +492,8 @@ namespace hpp {
{
gepetto
::
gui
::
MainWindow
*
main
=
gepetto
::
gui
::
MainWindow
::
instance
();
std
::
string
target
=
escapeJointName
(
jn
);
graphics
::
GroupNodePtr_t
group
=
main
->
osg
()
->
getGroup
(
target
.
c_str
(),
false
);
if
(
group
)
return
target
;
if
(
main
->
osg
()
->
createGroup
(
target
.
c_str
()))
{
main
->
osg
()
->
addToGroup
(
target
.
c_str
(),
"joints"
);
...
...
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