Skip to content
Snippets Groups Projects
Commit 53f02000 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

fixed jitter in tri face highlighter

parent 56853beb
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment