Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3429 in orxonox.OLD


Ignore:
Timestamp:
Mar 1, 2005, 9:32:46 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: skysphere now produces no more segfault while level changes

Location:
orxonox/trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/Makefile.in

    r3427 r3429  
    318318          esac; \
    319319        done; \
    320         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/Makefile'; \
     320        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/Makefile'; \
    321321        cd $(top_srcdir) && \
    322           $(AUTOMAKE) --gnu  src/Makefile
     322          $(AUTOMAKE) --foreign  src/Makefile
    323323.PRECIOUS: Makefile
    324324Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/trunk/src/importer/Makefile.in

    r3427 r3429  
    215215          esac; \
    216216        done; \
    217         echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  src/importer/Makefile'; \
     217        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  src/importer/Makefile'; \
    218218        cd $(top_srcdir) && \
    219           $(AUTOMAKE) --gnu  src/importer/Makefile
     219          $(AUTOMAKE) --foreign  src/importer/Makefile
    220220.PRECIOUS: Makefile
    221221Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  • orxonox/trunk/src/skysphere.cc

    r3422 r3429  
    5353Skysphere::~Skysphere()
    5454{
     55  PRINTF(3)("Deleting the SkySphere\n");
    5556  delete skyMaterial;
    5657  free(sphereObj);
     
    6364void Skysphere::initialize(char* fileName)
    6465{
     66  PRINTF(1)("initializing the Skysphere with Material %s.\n", fileName);
    6567  this->sphereObj = gluNewQuadric();
    6668  gluQuadricTexture(this->sphereObj, GL_TRUE);
  • orxonox/trunk/src/world.cc

    r3428 r3429  
    6767  this->localCamera->destroy();
    6868
    69   this->nullParent->destroy ();
     69  this->nullParent->destroy();
     70 
     71  delete this->skySphere;
    7072
    7173  //delete this->trackManager;
     
    360362            this->getCamera()->bind (myPlayer);
    361363            this->localPlayer->addChild (this->localCamera);
     364
     365            // Create SkySphere
     366            skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
     367
    362368            break;
     369
     370
    363371          }
    364372        default:
Note: See TracChangeset for help on using the changeset viewer.