prevent dragging parts beyond boundaries
This commit is contained in:
parent
eada77bd9c
commit
f581e2f89f
4 changed files with 18 additions and 8 deletions
|
|
@ -707,8 +707,6 @@ self.kiri.license = exports.LICENSE;
|
|||
|
||||
setViewMode(VIEWS.SLICE);
|
||||
|
||||
var selectSave = selectedMeshes.slice();
|
||||
|
||||
clearPrint();
|
||||
saveSettings();
|
||||
platform.deselect();
|
||||
|
|
@ -733,9 +731,6 @@ self.kiri.license = exports.LICENSE;
|
|||
startTime,
|
||||
lastMsg;
|
||||
|
||||
// skip non-selected widgets in CAM mode when any widget is selected
|
||||
if (MODE === MODES.CAM && selectSave.length > 0 && selectSave.indexOf(widget.mesh) < 0) return --countdown;
|
||||
|
||||
widget.stats.progress = 0;
|
||||
widget.setColor(widget_slicing_color);
|
||||
widget.slice(settings, function(sliced, error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue