Blender Git Loki

Git Commits -> Revision 0499dbc

Revision 0499dbc by Campbell Barton (master)
May 6, 2021, 01:31 (GMT)
PlayAnim: support limiting the cache by memory instead of frames

Partial fix for T81751 which exposes multiple playback performance
issues. Previously the cache was limited to 30 frames, without a way to
increase the cache for smooth playback with files that are slow to load.

Now the animation plays back smoothly once loaded into cache.

The cache limit from the system preference is used
when the player is launched from Blender.

A new player argument `-c <cache_limit>` was added to support this.

Commit Details:

Full Hash: 0499dbc5c16fe6b276da81d65cade4f5da92a308
Parent Commit: 2d3379e
Lines Changed: +40, -10

3 Modified Paths:

/release/scripts/startup/bl_operators/screen_play_rendered_anim.py (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm_playanim.c (+35, -9) (Diff)
/source/creator/creator_args.c (+4, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021