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:
authorCampbell Barton <ideasman42@gmail.com>2021-08-10 04:46:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-10 04:47:09 +0300
commitd9930cddfd6214221f930c1dc3f4de649781ac31 (patch)
tree6647f396ed557cf52efe8c308639681150bd88bc /source/blender/editors/space_node
parentcb7b4064d6c7baba7269df94329422e307aa3880 (diff)
Fix invalid string comparison in cd692c6954629e977250ec7c12509ffd3f9
Diffstat (limited to 'source/blender/editors/space_node')
-rw-r--r--source/blender/editors/space_node/drawnode.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_node/drawnode.cc b/source/blender/editors/space_node/drawnode.cc
index b5acdede81b..0f7a911e3ce 100644
--- a/source/blender/editors/space_node/drawnode.cc
+++ b/source/blender/editors/space_node/drawnode.cc
@@ -3596,7 +3596,7 @@ static void std_node_socket_draw(
break;
}
case SOCK_TEXTURE: {
- if (text == "") {
+ if (text[0] == '\0') {
uiTemplateID(layout,
C,
ptr,