[dasher] Oops, missed from 13563f987132a61ff53ae36c80054ce32e2e6be8:



commit 430ff98ea2960ffffdb4859dce6f2d6d64ef40eb
Author: Alan Lawrence <acl33 inf phy cam ac uk>
Date:   Sat May 22 21:19:24 2010 +0100

    Oops, missed from 13563f987132a61ff53ae36c80054ce32e2e6be8:
    
    NextScheduledStep sets BP_DASHER_PAUSED after last step
      (So as not to trigger StopEvents - like Control Mode "pause" not "halt")

 Src/DasherCore/DasherModel.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Src/DasherCore/DasherModel.cpp b/Src/DasherCore/DasherModel.cpp
index 38cca6d..133f696 100644
--- a/Src/DasherCore/DasherModel.cpp
+++ b/Src/DasherCore/DasherModel.cpp
@@ -416,7 +416,7 @@ bool CDasherModel::NextScheduledStep(unsigned long iTime, Dasher::VECTOR_SYMBOL_
   m_deGotoQueue.pop_front();
 
   UpdateBounds(iNewMin, iNewMax, iTime, pAdded, pNumDeleted);
-  if (m_deGotoQueue.size() == 0) m_pDasherInterface->Pause();
+  if (m_deGotoQueue.size() == 0) SetBoolParameter(BP_DASHER_PAUSED, true);
   return true;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]