maxogden/voxel — pull request #4 by MRdNk (2013-01-20 22:23:58+00:00)
Title: Fixed an issue with a undeletable block, the "zero" block

I assume the origin of the if(vidx), was to catch issues when vidx is undefined or null.
However, it creates a "zero-brick" undeletable.

See issue no. 10 in voxel-engine: https://github.com/maxogden/voxel-engine/issues/10