Fix #30449: sampled motion blur not working with softbody.
This commit is contained in:
@@ -4132,7 +4132,7 @@ void sbObjectStep(Scene *scene, Object *ob, float cfra, float (*vertexCos)[3], i
|
||||
}
|
||||
|
||||
/* try to read from cache */
|
||||
cache_result = BKE_ptcache_read(&pid, framenr);
|
||||
cache_result = BKE_ptcache_read(&pid, (float)framenr+scene->r.subframe);
|
||||
|
||||
if (cache_result == PTCACHE_READ_EXACT || cache_result == PTCACHE_READ_INTERPOLATED) {
|
||||
softbody_to_object(ob, vertexCos, numVerts, sb->local);
|
||||
|
||||
Reference in New Issue
Block a user