Merge pull request #5345 from huffman/fix-edit-highlight

Fix bug where edit.js highlights an object after being turned off
This commit is contained in:
Philip Rosedale 2015-07-16 11:34:01 -07:00
commit 62fca613a6

View file

@ -656,7 +656,9 @@ function mouseMove(event) {
function handleIdleMouse() {
idleMouseTimerId = null;
highlightEntityUnderCursor(lastMousePosition, true);
if (isActive) {
highlightEntityUnderCursor(lastMousePosition, true);
}
}
function highlightEntityUnderCursor(position, accurateRay) {