[Bf-blender-cvs] [810f33d434c] master: Fix: Missing translation in node socket inspection
Hans Goudey
noreply at git.blender.org
Thu Apr 28 22:11:35 CEST 2022
Commit: 810f33d434c2f63df9a6c9cc42893e0ff540ae4c
Author: Hans Goudey
Date: Thu Apr 28 15:11:26 2022 -0500
Branches: master
https://developer.blender.org/rB810f33d434c2f63df9a6c9cc42893e0ff540ae4c
Fix: Missing translation in node socket inspection
===================================================================
M source/blender/editors/space_node/node_draw.cc
===================================================================
diff --git a/source/blender/editors/space_node/node_draw.cc b/source/blender/editors/space_node/node_draw.cc
index 0e02013f527..9076b17a926 100644
--- a/source/blender/editors/space_node/node_draw.cc
+++ b/source/blender/editors/space_node/node_draw.cc
@@ -781,7 +781,8 @@ struct SocketTooltipData {
static void create_inspection_string_for_generic_value(const GPointer value, std::stringstream &ss)
{
auto id_to_inspection_string = [&](const ID *id, const short idcode) {
- ss << (id ? id->name + 2 : TIP_("None")) << " (" << BKE_idtype_idcode_to_name(idcode) << ")";
+ ss << (id ? id->name + 2 : TIP_("None")) << " (" << TIP_(BKE_idtype_idcode_to_name(idcode))
+ << ")";
};
const CPPType &type = *value.type();
More information about the Bf-blender-cvs
mailing list