Ignore:
Timestamp:
03/06/17 20:30:06 (7 years ago)
Author:
Sanahuja Guillaume
Message:

modifs pb crash fin simulateur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairSimulator/src/Simulator_impl.cpp

    r15 r162  
    2121#include "Gui.h"
    2222#include "Gui_impl.h"
     23#include <ISceneManager.h>
    2324#endif
    2425#include "Model.h"
     
    4647    models.at(i)->pimpl_->SafeStop();
    4748    models.at(i)->pimpl_->Join();
     49#ifdef GL
     50    getGui()->getSceneManager()->getRootSceneNode()->removeChild(models.at(i)->pimpl_);
     51#endif
    4852    delete models.at(i);
    4953  }
Note: See TracChangeset for help on using the changeset viewer.