Changeset 254 for trunk/VUT/work/iv/IVFrameListener.cpp
- Timestamp:
- 08/26/05 23:24:31 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/work/iv/IVFrameListener.cpp
r187 r254 66 66 mShowVisualization(false), 67 67 mCullCamera(false), 68 mRecord (false),68 mRecordFrames(false), 69 69 mShowShadows(false), 70 70 mShowHelp(false), … … 288 288 case WALKTHROUGH: 289 289 //-- if we are recording camera status per frame 290 if (mRecord )290 if (mRecordFrames) 291 291 { 292 292 addFrameInfo(mCamNode, evt.timeSinceLastFrame); … … 442 442 { 443 443 // no recording during replay 444 mRecord = false;444 mRecordFrames = false; 445 445 446 446 // load recorded walkthrough … … 475 475 void IVFrameListener::toggleRecord() 476 476 { 477 mRecord = !mRecord;477 mRecordFrames = !mRecordFrames; 478 478 479 479 // clear previous camera path 480 if (mRecord )480 if (mRecordFrames) 481 481 mFrameInfo.clear(); 482 482 else … … 834 834 info.position = mCamNode->getPosition(); 835 835 info.timeElapsed = timeElapsed; 836 836 837 837 mFrameInfo.push_back(info); 838 838 }
Note: See TracChangeset
for help on using the changeset viewer.