diff transform/RealTimeEffectModelTransformer.cpp @ 414:c8955c486340

* Fix crash (always) when running any Effects Data transform
author Chris Cannam
date Mon, 09 Jun 2008 09:41:58 +0000
parents 370aa9714ef5
children d35d4e79c95b
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;