Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-07-08 11:00:01 +0300
committerJacques Lucke <jacques@blender.org>2021-07-08 11:00:01 +0300
commitc55affc032447fe533535994554d3071e42b0548 (patch)
treea7910218b37b0d198dbfcbdd9b97cfc99f58a80a
parentcef318adf061e97994cddddaa0810a74ef4ba845 (diff)
improve message when socket value is not availabletemp-socket-inspection
-rw-r--r--source/blender/editors/space_node/node_draw.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 6da2fa3351b..c6d7cf20212 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -985,7 +985,9 @@ static void node_socket_draw_nested(const bContext *C,
if (str.has_value()) {
return BLI_strdup(str->c_str());
}
- return BLI_strdup("Unknown");
+ return BLI_strdup(
+ "The socket value has not been computed yet because it was not necessary for the "
+ "final output");
},
data,
MEM_freeN);