diff --git a/js/models/BasePlane.js b/js/models/BasePlane.js index 9f5db8a5d82d2272e585fe7d37212d28af6f9daf..2bec59ad117aec32d667b0f857f10f63eff302ed 100644 --- a/js/models/BasePlane.js +++ b/js/models/BasePlane.js @@ -165,6 +165,7 @@ OctaBasePlane = BasePlane.extend({ }, calcHighlighterPosition: function(face, position){ + position.z = 0; var index = globals.lattice.getIndexForPosition(position); if (index.z%2 != 0) index.x -= 1; index.z = this.get("zIndex") - 1;//pretend we're on the top of the cell underneath the baseplane