fixed local mode
Merge pull request #178 from ZappoMan/render_voxels_optimization

fixed local mode