mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-19 12:27:56 +01:00
fix loading mesh
This commit is contained in:
parent
b562d3c2e2
commit
082329b810
@ -120,6 +120,7 @@ class Interface extends React.Component {
|
||||
showFullScreen: false,
|
||||
isSlicing: false,
|
||||
error: null,
|
||||
mesh: null,
|
||||
objectDimensions: '0x0x0mm',
|
||||
popover: { open: false, element: null },
|
||||
openUrlDialog: { open: false, url: '' }
|
||||
@ -154,6 +155,8 @@ class Interface extends React.Component {
|
||||
placeOnGround(scene.mesh);
|
||||
this.calculateDimensions();
|
||||
scene.render();
|
||||
|
||||
this.setState({ mesh });
|
||||
}
|
||||
|
||||
componentWillUnmount() {
|
||||
|
Loading…
Reference in New Issue
Block a user