Skip to content
GitLab
Projects
Groups
Snippets
/
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
4a63cf1c
Commit
4a63cf1c
authored
Apr 21, 2021
by
legoc
Browse files
Passing Model to Nomad3DExporter.writeForViewer()
parent
3003ea3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/fr/ill/ics/n3d/gui/EditorMenuBar.java
View file @
4a63cf1c
...
...
@@ -295,7 +295,7 @@ public class EditorMenuBar extends MenuBar {
// Save the viewer file.
Nomad3DExporter
exporter
=
new
Nomad3DExporter
();
Nomad3DEditor
editor
=
Nomad3DEditor
.
getInstance
();
exporter
.
writeForViewer
(
editor
.
getModel
()
.
getDisplayedRoot
()
,
hideBBDiagonal
,
selectedFile
);
exporter
.
writeForViewer
(
editor
.
getModel
(),
hideBBDiagonal
,
selectedFile
);
String
viewPath
=
selectedFile
.
getAbsolutePath
();
String
geometriesPath
=
editor
.
getModel
().
getDirectoryPath
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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