Permalink
Browse files

powerpacks now set charging flag correctly

  • Loading branch information...
1 parent a7f81d1 commit e65967fe3fbb21ce627c2e6d4aff4c46b16cd702 rtv committed Feb 9, 2009
Showing with 985 additions and 979 deletions.
  1. +2 −0 libstage/CMakeLists.txt
  2. +0 −5 libstage/blockgroup.cc
  3. +18 −872 libstage/model.cc
  4. +590 −0 libstage/model_draw.cc
  5. +245 −0 libstage/model_getset.cc
  6. +76 −63 libstage/powerpack.cc
  7. +19 −13 libstage/stage.hh
  8. +35 −26 libstage/world.cc
View
@@ -16,8 +16,10 @@ set( stageSrcs ancestor.cc
model_blinkenlight.cc
model_blobfinder.cc
model_callbacks.cc
+ model_draw.cc
model_camera.cc
model_fiducial.cc
+ model_getset.cc
model_laser.cc
model_load.cc
model_position.cc
View
@@ -27,8 +27,6 @@ void BlockGroup::AppendBlock( Block* block )
{
blocks = g_list_append( blocks, block );
++count;
-
- block->mod->map_caches_are_invalid = true;
}
void BlockGroup::Clear()
@@ -84,9 +82,6 @@ void BlockGroup::CalcSize()
maxx = maxy = -billion;
size.z = 0.0; // grow to largest z we see
-
- if( blocks )
- ((Block*)blocks->data)->mod->map_caches_are_invalid = true;
for( GList* it=blocks; it; it=it->next ) // examine all the blocks
{
Oops, something went wrong.

0 comments on commit e65967f

Please sign in to comment.