changeset 414:c8955c486340

* Fix crash (always) when running any Effects Data transform
author Chris Cannam
date Mon, 09 Jun 2008 09:41:58 +0000
parents 0b274e1aaf10
children e37e44681720
files transform/RealTimeEffectModelTransformer.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/transform/RealTimeEffectModelTransformer.cpp	Fri Jun 06 15:26:27 2008 +0000
+++ b/transform/RealTimeEffectModelTransformer.cpp	Mon Jun 09 09:41:58 2008 +0000
@@ -164,7 +164,9 @@
         contextDuration = endFrame - contextStart;
     }
 
-    wwfm->setStartFrame(contextStart);
+    if (wwfm) {
+        wwfm->setStartFrame(contextStart);
+    }
 
     long blockFrame = contextStart;