Commit 4a5cede0 authored by amandaghassaei's avatar amandaghassaei
Browse files

small bugs

parent 55cef654
......@@ -94,7 +94,7 @@ define(['underscore', 'backbone', 'threeModel', 'appState', 'lattice', 'cell', '
getObjToIntersect: function(){
var objsToIntersect= three.getCells();
var objsToIntersect= lattice.getHighlightableCells();
if (!appState.get("deleteMode")) objsToIntersect = objsToIntersect.concat(three.getBasePlane());
// if (globals.get("highlighter").isVisible()) objsToIntersect = objsToIntersect.concat(globals.get("highlighter").mesh);
return objsToIntersect;
......@@ -12,6 +12,7 @@ define(['jquery', 'underscore', 'menuParent', 'plist', 'text!menus/templates/Ske
_initialize: function(){
this.listenTo(globals.get("baseplane"), "change", this.render);
this.listenTo(this.model, "change", this.render);
getPropertyOwner: function($target){
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment