Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5400 in orxonox.OLD for trunk/src/lib/graphics/render2D/render_2d.cc


Ignore:
Timestamp:
Oct 18, 2005, 9:32:34 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: a new Function to List.
This gives the ability to remove entities from the end of the List.
This is good, if you have an entity just added, and then deleted right afterwards

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/render2D/render_2d.cc

    r5399 r5400  
    101101  {
    102102    if (element2D->getLayer() != E2D_LAYER_EXTERN)
    103       this->element2DList[element2D->getLayer()]->remove(element2D);
     103      this->element2DList[element2D->getLayer()]->removeFromLast(element2D);
    104104    if (to != E2D_LAYER_EXTERN)
    105105      this->element2DList[to]->add(element2D);
Note: See TracChangeset for help on using the changeset viewer.