Skip to content

Commit

Permalink
Cut object. done.
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethjiang committed Dec 5, 2017
1 parent 3689fb7 commit a0aa3e7
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 deletions octoprint_slicer/static/js/octoprint_slicer.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -13555,7 +13555,9 @@ var BufferGeometryMutator = function () {
}
}

return newBufferGeometryMutators;
return newBufferGeometryMutators.filter(function (mutator) {
return mutator.positions.length >= 5;
}); // How many positions to qualify a valid shape?
}

// For each edge, find the edge in the input that leads from its
Expand Down Expand Up @@ -35300,7 +35302,7 @@ function isDev() {

if (!isDev() && typeof Raven !== 'undefined') {
Raven.config('https://[email protected]/141297', {
release: '1.3.2',
release: '1.3.3',
ignoreErrors: ["Failed to execute 'arc' on 'CanvasRenderingContext2D': The radius provided", "Cannot read property 'highlightFill' of undefined", "Argument 1 of SVGMatrix.translate is not a finite floating-point value", /_jp.*is not a function/, "chrome is not defined", "You cannot apply bindings multiple times to the same element.", "SVG_MATRIX_NOT_INVERTABLE", "The index is not in the allowed range."]
}).install();
}
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dev": "rollup -c -w --environment DEBUG"
},
"dependencies": {
"3tk": "^0.4.3",
"3tk": "=0.4.4",
"babel-polyfill": "^6.23.0",
"bin-packing-es": "0.0.3",
"lodash-es": "^4.17.4",
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint-Slicer"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.3.2"
plugin_version = "1.3.3"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down
2 changes: 1 addition & 1 deletion src/slicer.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function isDev() {

if ( ! isDev() && typeof(Raven) !== 'undefined' ) {
Raven.config('https://[email protected]/141297', {
release: '1.3.2',
release: '1.3.3',
ignoreErrors: [
"Failed to execute 'arc' on 'CanvasRenderingContext2D': The radius provided",
"Cannot read property 'highlightFill' of undefined",
Expand Down

0 comments on commit a0aa3e7

Please sign in to comment.