diff options
author | Hans Goudey <h.goudey@me.com> | 2021-02-17 02:15:08 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-02-17 02:15:08 +0300 |
commit | 461d4fc1aae200a6310a254b6e7c08070d9e94a7 (patch) | |
tree | f2ac642a29497855d879a022bc249a242a05b666 /source/blender/blenkernel/CMakeLists.txt | |
parent | c9c4802c1c26d1125d9bb41ff9187b61e167cc42 (diff) |
Geometry Nodes: Node error messages
This patch adds icons to the right side of nodes when they encounter a
a problem. When hovered, a tooltip displays describing the encountered
while evaluating the node.
Some examples are: attribute doesn't exist, mesh has no faces,
incorrect attribute type, etc. Exposing more messages to the system
will be an ongoing process. Multiple warnings per node are supported.
The system is implemented somewhat generically so that the basic
structure can also be used to store more information from evaluation
for the interface, like a list of available attributes.
Currently the messages are just button tooltips. They could be styled
differently in the future. Another limitation is that every instance of
a node group in a parent node tree will have the same error messages,
the "evaluation context" used to decide when to display the tooltips
must be extended to support node tree paths.
Differential Revision: https://developer.blender.org/D10290
Diffstat (limited to 'source/blender/blenkernel/CMakeLists.txt')
-rw-r--r-- | source/blender/blenkernel/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/CMakeLists.txt b/source/blender/blenkernel/CMakeLists.txt index ead01dbd6cb..f288bf9aabc 100644 --- a/source/blender/blenkernel/CMakeLists.txt +++ b/source/blender/blenkernel/CMakeLists.txt @@ -200,6 +200,7 @@ set(SRC intern/multires_versioning.c intern/nla.c intern/node.cc + intern/node_ui_storage.cc intern/object.c intern/object_deform.c intern/object_dupli.c |