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
Instrument Control
Protos
Nomad 3D
nomad-3d-editor
Commits
f104ee4d
Commit
f104ee4d
authored
May 07, 2019
by
yannick legoc
Browse files
Corrected AxisBuilder to remove properly the visual group
parent
b6f948e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/n3d/gui/AxisBuilder.java
View file @
f104ee4d
...
...
@@ -123,7 +123,7 @@ public class AxisBuilder {
* @param modified true if the axis was modified, false if it was added
*/
public
void
stop
(
boolean
modified
)
{
if
(
!
modified
&&
this
.
axis
!=
null
&&
this
.
parentGroup
!=
null
)
{
if
(
this
.
axis
!=
null
&&
this
.
parentGroup
!=
null
)
{
this
.
parentGroup
.
getChildren
().
remove
(
this
.
axis
.
getVisualGroup
());
}
this
.
axis
=
null
;
...
...
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