Changeset 7844 in orxonox.OLD for trunk/src/lib/graphics/render2D
- Timestamp:
- May 24, 2006, 11:34:22 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/render2D/element_2d.cc
r7843 r7844 883 883 { 884 884 this->bCurrentlyVisible = true; 885 printf("OK \n");886 885 } 887 886 … … 1034 1033 void Element2D::draw2D(E2D_LAYER from, E2D_LAYER to) const 1035 1034 { 1036 if (this-> bVisible && this->bCurrentlyVisible)1035 if (this->isVisible()) 1037 1036 this->draw(); 1038 1037 if (this->children.size() > 0)
Note: See TracChangeset
for help on using the changeset viewer.