forked from blender/blender
Caching generated image leads to infinite loop in preview render #53
No reviewers
Labels
No Label
No Milestone
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: BogdanNagirniak/blender#53
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "BLEN-409"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Purpose
Fix infinite loop in preview render when generated image cached.
Technical steps
Caching images moved from python to C++ part so caching no more triggers Depsgraph updates;
Added
cache_image_func
;Fixed caching logic;
Note for reviewers
Use with BogdanNagirniak/blender-addons#15
@ -227,4 +243,3 @@
{"engine_create", engine_create_func, METH_VARARGS, ""},
{"engine_free", engine_free_func, METH_VARARGS, ""},
{"engine_sync", engine_sync_func, METH_VARARGS, ""},
{"engine_sync_usd", engine_sync_usd_func, METH_VARARGS, ""},
why did you remove this?
Mistake. Fixed.
Looks good.
Added code improvements + changes in MaterialX addon. Tested - works good