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
0dbbf97c
Commit
0dbbf97c
authored
Jun 29, 2017
by
Ivan Dages
Browse files
material modification : start with current material
parent
35be6e80
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/n3d/gui/EditorMenuBar.java
View file @
0dbbf97c
...
...
@@ -781,7 +781,7 @@ public class EditorMenuBar extends MenuBar {
if
(
Nomad3DEditor
.
getInstance
().
getModel
()
==
null
||
Nomad3DEditor
.
getInstance
().
getModel
().
getSelection
().
isEmpty
())
{
return
;
}
PhongMaterial
oldMaterial
=
C
om
ponent
.
DEFAULT_MATERIAL
;
PhongMaterial
oldMaterial
=
N
om
ad3DEditor
.
getInstance
().
getModel
().
getSelection
().
iterator
().
next
().
getMaterial
()
;
GridPane
scenePane
=
new
GridPane
();
scenePane
.
setAlignment
(
Pos
.
CENTER
);
...
...
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