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

[sc-dev] SF.net SVN: supercollider:[9641] trunk/Source/lang/LangPrimSource/ PyrPrimitive.cpp



Revision: 9641
          http://supercollider.svn.sourceforge.net/supercollider/?rev=9641&view=rev
Author:   jrhb
Date:     2009-12-30 23:29:29 +0000 (Wed, 30 Dec 2009)

Log Message:
-----------
fix for rev 9598, which introduced a discrepance in thread beats vs thread seconds, spotted by James Harkins

Revision Links:
--------------
    http://supercollider.svn.sourceforge.net/supercollider/?rev=9598&view=rev

Modified Paths:
--------------
    trunk/Source/lang/LangPrimSource/PyrPrimitive.cpp

Modified: trunk/Source/lang/LangPrimSource/PyrPrimitive.cpp
===================================================================
--- trunk/Source/lang/LangPrimSource/PyrPrimitive.cpp	2009-12-30 04:07:52 UTC (rev 9640)
+++ trunk/Source/lang/LangPrimSource/PyrPrimitive.cpp	2009-12-30 23:29:29 UTC (rev 9641)
@@ -3175,7 +3175,9 @@
 		//post("thread %08X\n", thread);
 		SetObject(&thread->parent, g->thread);
 		g->gc->GCWrite(thread, g->thread);
-
+		
+		SetRaw(&thread->beats, slotRawFloat(&g->thread->beats));
+		SetRaw(&thread->seconds, slotRawFloat(&g->thread->seconds));
 		slotCopy(&thread->clock, &g->thread->clock);
 		g->gc->GCWrite(thread, &g->thread->clock);
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/