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:
Diffstat (limited to 'source/blender/nodes/geometry/nodes/node_geo_image_texture.cc')
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_image_texture.cc13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc b/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc
index 02f99b6cf94..e1c72fbd438 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_image_texture.cc
@@ -36,12 +36,13 @@ namespace blender::nodes {
static void geo_node_image_texture_declare(NodeDeclarationBuilder &b)
{
- b.add_input<decl::Image>("Image").hide_label();
- b.add_input<decl::Vector>("Vector").implicit_field().description(
- "Texture coordinates from 0 to 1");
- b.add_input<decl::Int>("Frame").min(0).max(MAXFRAMEF);
- b.add_output<decl::Color>("Color").no_muted_links().dependent_field();
- b.add_output<decl::Float>("Alpha").no_muted_links().dependent_field();
+ b.add_input<decl::Image>(N_("Image")).hide_label();
+ b.add_input<decl::Vector>(N_("Vector"))
+ .implicit_field()
+ .description(("Texture coordinates from 0 to 1"));
+ b.add_input<decl::Int>(N_("Frame")).min(0).max(MAXFRAMEF);
+ b.add_output<decl::Color>(N_("Color")).no_muted_links().dependent_field();
+ b.add_output<decl::Float>(N_("Alpha")).no_muted_links().dependent_field();
}
static void geo_node_image_texture_layout(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)