Mercurial > hg > svcore
comparison 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 |
comparison
equal
deleted
inserted
replaced
413:0b274e1aaf10 | 414:c8955c486340 |
---|---|
162 } | 162 } |
163 if (contextStart + contextDuration > endFrame) { | 163 if (contextStart + contextDuration > endFrame) { |
164 contextDuration = endFrame - contextStart; | 164 contextDuration = endFrame - contextStart; |
165 } | 165 } |
166 | 166 |
167 wwfm->setStartFrame(contextStart); | 167 if (wwfm) { |
168 wwfm->setStartFrame(contextStart); | |
169 } | |
168 | 170 |
169 long blockFrame = contextStart; | 171 long blockFrame = contextStart; |
170 | 172 |
171 long prevCompletion = 0; | 173 long prevCompletion = 0; |
172 | 174 |