Blender Git Commit Log

Git Commits -> Revision 43875e8

Revision 43875e8 by Hans Goudey (master)
December 15, 2021, 20:27 (GMT)
Cleanup: Remove no-op node preview function calls

This patch removes no-op node editor preview code (`PR_NODE_RENDER`)
and most calls to `BKE_node_preview_init_tree`. The only remaining call is
in the compositor.

- Shader nodes previews don't seem to do anything.
- In-node previews for the texture node system doesn't work either.

This is a first step to refactoring to remove `preview_xsize`,
`preview_ysize`, and `prvr` from nodes in DNA, aligned with
the general goal of removing runtime/derived data from data
structs.

Differential Revision: https://developer.blender.org/D13578

Commit Details:

Full Hash: 43875e8dd1d76ee783b0d44e5199acfc650a07fb
Parent Commit: b32f5a9
Lines Changed: +5, -114

3 Modified Paths:

/source/blender/editors/include/ED_render.h (+1, -3) (Diff)
/source/blender/editors/render/render_preview.c (+3, -84) (Diff)
/source/blender/editors/space_node/space_node.cc (+1, -27) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021