From b19517ace76787605ba7aa21652f34f39d9ced12 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Sun, 28 Jun 2015 07:53:35 -0700 Subject: [PATCH] make voxel editing work, even if the voxel-space is empty --- examples/voxels.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/examples/voxels.js b/examples/voxels.js index 38b839adb1..991abd7253 100644 --- a/examples/voxels.js +++ b/examples/voxels.js @@ -40,7 +40,6 @@ function mousePressEvent(event) { // or if we pick a non-PolyVox entity, we fall through to the next picking attempt. if (intersection.intersects) { if (attemptVoxelChange(intersection)) { - print("here0"); return; } } @@ -49,10 +48,8 @@ function mousePressEvent(event) { // bounding box, instead. intersection = Entities.findRayIntersection(pickRay, false); // bounding box picking if (intersection.intersects) { - print("here1"); attemptVoxelChange(intersection); } - print("here2"); }