diff --git a/extern/audaspace/src/sequence/AnimateableProperty.cpp b/extern/audaspace/src/sequence/AnimateableProperty.cpp index c9c2a358219a911191627802eee2450afed32dbd..b38827f5cc79ec26baf4818fb20d8a5679281ebd 100644 --- a/extern/audaspace/src/sequence/AnimateableProperty.cpp +++ b/extern/audaspace/src/sequence/AnimateableProperty.cpp @@ -184,6 +184,12 @@ void AnimateableProperty::read(float position, float* out) t = 0; } + if(position < 0) + { + position = 0; + t = 0; + } + if(t == 0) { std::memcpy(out, getBuffer() + int(std::floor(position)) * m_count, m_count * sizeof(float));