Ignore:
Timestamp:
05/26/08 01:05:56 (16 years ago)
Author:
mattausch
Message:

sheduling dynamic object only when necessary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/CombinedPreprocessor.cpp

    r2680 r2709  
    1313#include "CombinedPreprocessor.h" 
    1414#include "RayCaster.h" 
    15  
     15#include <windows.h>  
    1616 
    1717 
     
    7979 
    8080  for (mCurrentSamples =0; mCurrentSamples < mTotalSamples; mCurrentSamples += mSamplesPerPass, mPass++) { 
     81          while (mSynchronize) 
     82          { 
     83                  // hack: sleep during walthrough computation 
     84                  Sleep(1000); 
     85          } 
     86 
    8187        mRayCaster->InitPass(); 
    8288         
Note: See TracChangeset for help on using the changeset viewer.