From c55affc032447fe533535994554d3071e42b0548 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 8 Jul 2021 10:00:01 +0200 Subject: improve message when socket value is not available --- source/blender/editors/space_node/node_draw.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3