# HG changeset patch # User John Tsiombikas # Date 1349740441 -10800 # Node ID f55ddab0f3a4584e4e30a3dd459e4db7e952d928 # Parent 45172d087ebe252c396162d8f83335858f96099a "fixed" the disappearing lights issue diff -r 45172d087ebe -r f55ddab0f3a4 prototype/data/test.level --- a/prototype/data/test.level Sun Oct 07 03:42:44 2012 +0200 +++ b/prototype/data/test.level Tue Oct 09 02:54:01 2012 +0300 @@ -30,7 +30,7 @@ ################################################################ ################################################################ ################################*############################### -################################*############################### +################################ ############################### ################################################################ ################################################################ ################################################################ diff -r 45172d087ebe -r f55ddab0f3a4 prototype/src/light.cc --- a/prototype/src/light.cc Sun Oct 07 03:42:44 2012 +0200 +++ b/prototype/src/light.cc Tue Oct 09 02:54:01 2012 +0300 @@ -161,10 +161,10 @@ bool PointLight::create_mesh() { - if(sph_vbo) { + /*if(sph_vbo) { vbo = sph_vbo; return true; - } + }*/ printf("building sphere mesh for point light drawing\n");