From 53f0200025a04615b7b1f5577a0727d4ab618f8f Mon Sep 17 00:00:00 2001
From: Amanda Ghassaei <amandaghassaei@gmail.com>
Date: Tue, 26 May 2015 23:08:46 -0700
Subject: [PATCH] fixed jitter in tri face highlighter

---
 js/models/BasePlane.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/js/models/BasePlane.js b/js/models/BasePlane.js
index 9f5db8a5..2bec59ad 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
-- 
GitLab