Geometry Nodes: remove reference to anonymous attributes in tooltips

This changes socket inspection for fields according to T91881.

Differential Revision: https://developer.blender.org/D13006
This commit is contained in:
Jacques Lucke
2021-10-26 15:32:01 +02:00
parent b8b9023d8c
commit fd477e738d
20 changed files with 111 additions and 33 deletions

View File

@@ -907,22 +907,22 @@ static void create_inspection_string_for_gfield(const geo_log::GFieldValueLog &v
}
else {
if (type.is<int>()) {
ss << TIP_("Integer Field");
ss << TIP_("Integer field");
}
else if (type.is<float>()) {
ss << TIP_("Float Field");
ss << TIP_("Float field");
}
else if (type.is<blender::float3>()) {
ss << TIP_("Vector Field");
ss << TIP_("Vector field");
}
else if (type.is<bool>()) {
ss << TIP_("Boolean Field");
ss << TIP_("Boolean field");
}
else if (type.is<std::string>()) {
ss << TIP_("String Field");
ss << TIP_("String field");
}
else if (type.is<blender::ColorGeometry4f>()) {
ss << TIP_("Color Field");
ss << TIP_("Color field");
}
ss << TIP_(" based on:\n");