hmm maybe its a signal queue ordering thing - clock state. try this.

SVN revision: 60548
This commit is contained in:
Carsten Haitzler 2011-06-21 13:03:45 +00:00
parent 076405da93
commit 4637420b60
1 changed files with 3 additions and 8 deletions

View File

@ -11782,10 +11782,6 @@ collections {
if (pos >= 1.0) { \
set_state(PART:nom"sh", "default", 0.0); \
set_int(ns ## v0_lock, 0); \
v = get_int(ns ## v0_next); \
if (v >= 0) { \
set_int(ns ## v0_next, -1); \
} \
} \
} \
public ns ## animator1(val, Float:pos) { \
@ -11799,12 +11795,11 @@ collections {
} \
public ns ## valset(value) { \
new v, buf[11]; \
if (get_int(ns ## v0_lock) == 1) { \
set_int(ns ## v0_next, value); \
return; \
} \
v = get_int(ns ## v0_cur); \
if (v == value) return; \
if (get_int(ns ## v0_lock) == 1) { \
set_state(PART:nom"sh", "default", 0.0); \
} \
set_int(ns ## v0_pre, v); \
set_int(ns ## v0_cur, value); \
set_int(ns ## v0_lock, 1); \