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

small bug

parent ea3e0e8f
Branches
No related tags found
No related merge requests found
......@@ -247,7 +247,7 @@ GIKHighlighter = Highlighter.extend({
var index = dmaGlobals.appState.get("superCellIndex");
var min, max;
if (this.mesh.rotation.z == 0) {
min = {x:position.x-dmaGlobals.lattice.get("gikLength")+index, y:position.y, z:position.z};
min = {x:position.x-dmaGlobals.lattice.get("gikLength")+1+index, y:position.y, z:position.z};
max = {x:position.x+index, y:position.y, z:position.z};
}
else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment