Changeset 162 in flair-src for trunk/lib/FlairSimulator
- Timestamp:
- Mar 6, 2017, 8:30:06 PM (8 years ago)
- Location:
- trunk/lib/FlairSimulator/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/FlairSimulator/src/Gui_impl.cpp
r145 r162 131 131 Gui_impl::~Gui_impl() { 132 132 // printf("del Gui_impl\n"); 133 device->drop();133 //device->drop(); 134 134 135 135 delete receiver; … … 209 209 210 210 while (device->run()) { 211 if (dbtFile_r != NULL) // rejeu 212 { 211 if (dbtFile_r != NULL) {// rejeu 213 212 takeScreenshot(); // on enregistre l'image precedente 214 213 road_time_t time; … … 258 257 } 259 258 device->setWindowCaption(L"toto");*/ 260 261 if (dbtFile_r == NULL) // mode normal 262 { 259 if (dbtFile_r == NULL) {// mode normal 263 260 for (size_t i = 0; i < models.size(); i++) { 264 261 models.at(i)->pimpl_->CheckCollision(); -
trunk/lib/FlairSimulator/src/SimuCameraGL.cpp
r158 r162 111 111 free(buffer); 112 112 } 113 camera->removeAnimator(this); 114 camera->drop(); 113 115 } 114 116 -
trunk/lib/FlairSimulator/src/Simulator_impl.cpp
r15 r162 21 21 #include "Gui.h" 22 22 #include "Gui_impl.h" 23 #include <ISceneManager.h> 23 24 #endif 24 25 #include "Model.h" … … 46 47 models.at(i)->pimpl_->SafeStop(); 47 48 models.at(i)->pimpl_->Join(); 49 #ifdef GL 50 getGui()->getSceneManager()->getRootSceneNode()->removeChild(models.at(i)->pimpl_); 51 #endif 48 52 delete models.at(i); 49 53 }
Note:
See TracChangeset
for help on using the changeset viewer.