Bugfix 30974
- Disabled "Quick Cache" option. It was causing ridiculous updates on the entire animation system for start-end frame on every user event causing changes here (like during transform). Worst was that you couldn't transform animated objects for that reason either. Most of the code is still there, waiting for a moment to revise it... - Constraint "Follow Track" (marker) wasn't using inverse matrix code in transform, making it wacko to use (wrong pivot, crazyspace)
This commit is contained in:
@@ -2696,26 +2696,8 @@ void BKE_object_handle_update(Scene *scene, Object *ob)
|
||||
psys_get_modifier(ob, psys)->flag &= ~eParticleSystemFlag_psys_updated;
|
||||
}
|
||||
}
|
||||
|
||||
/* check if quick cache is needed */
|
||||
BKE_ptcache_ids_from_object(&pidlist, ob, scene, MAX_DUPLI_RECUR);
|
||||
|
||||
for (pid = pidlist.first; pid; pid = pid->next) {
|
||||
if ((pid->cache->flag & PTCACHE_BAKED) ||
|
||||
(pid->cache->flag & PTCACHE_QUICK_CACHE) == 0)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
if (pid->cache->flag & PTCACHE_OUTDATED || (pid->cache->flag & PTCACHE_SIMULATION_VALID) == 0) {
|
||||
scene->physics_settings.quick_cache_step =
|
||||
scene->physics_settings.quick_cache_step ?
|
||||
min_ii(scene->physics_settings.quick_cache_step, pid->cache->step) :
|
||||
pid->cache->step;
|
||||
}
|
||||
}
|
||||
|
||||
BLI_freelistN(&pidlist);
|
||||
|
||||
/* quick cache removed */
|
||||
}
|
||||
|
||||
/* the no-group proxy case, we call update */
|
||||
|
||||
Reference in New Issue
Block a user