Skip to content
Permalink
Browse files

Add null check for viewer3d.dropObject

  • Loading branch information...
Wilbur Shi authored and jmkao committed Aug 5, 2016
1 parent 18a6da2 commit 46dc3b2d6cd3e657158668da3daa14fe620a9eda
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/main.js
@@ -681,7 +681,7 @@ function updateBuildVolumeSettings() {
});

viewer3d.setBuildVolume(settings.get('buildVolume'));
viewer3d.dropObject(slicer.mesh);
slicer.mesh && viewer3d.dropObject(slicer.mesh);
viewer3d.render();

size && updateMeshInfoUI();

0 comments on commit 46dc3b2

Please sign in to comment.
You can’t perform that action at this time.