blender/scripts/startup
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
..
bl_app_templates_system License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
bl_operators Cleanup: make format 2023-07-12 11:55:18 +02:00
bl_ui Nodes: Move preview images to an overlay 2023-07-12 16:14:12 +02:00
keyingsets_builtins.py License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00
nodeitems_builtins.py License headers: use SPDX-FileCopyrightText in all sources 2023-06-15 13:35:34 +10:00