blender/scripts
Colin Marmond 1ebdd2d9cf Nodes: Move preview images to an overlay
Move the node previews to the overlay region, atop each node.
It allows nodes to keep the same size when the preview is toggled,
which is more convenient for large nodes and large nodetrees.

The preview has to be drawn from `node_draw_extra_info_panel`
because there could be overlapping between info text and the preview.
When the node is out of the view, it also has to make sure that the
preview is also out of the view before exiting the draw function.

Pull Request: https://projects.blender.org/blender/blender/pulls/108001
2023-07-12 16:14:12 +02:00
..
freestyle License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
modules Cleanup: make format 2023-07-10 15:52:10 +02:00
presets Revert "Transform: Allow navigation by default" 2023-07-04 14:53:39 +02:00
site License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
startup Nodes: Move preview images to an overlay 2023-07-12 16:14:12 +02:00
templates_osl Re-design of submodules used in blender.git 2023-02-21 16:39:58 +01:00
templates_py Fix #108960: Replace archived link from custom nodes template 2023-07-03 12:21:06 +02:00