Permalink
Browse files
fix z plane position on build volume unit change
- Loading branch information...
Showing
with
1 addition
and
1 deletion.
-
+1
−1
js/main.js
|
@@ -97,7 +97,7 @@ function slice(layerNumber) { |
|
|
|
|
|
// get new shapes list
|
|
|
shapes = slice.shapes;
|
|
|
- zPosition -= settings.get('buildVolume.size.z') / 2;
|
|
|
+ zPosition -= viewer3d.buildVolume.size.z / 2;
|
|
|
|
|
|
// add new shapes
|
|
|
for (var i = 0, il = shapes.length; i < il; i++) {
|
|
|
0 comments on commit
eb8c124