[Bf-blender-cvs] [53af51ad50e] master: Geometry Nodes: Add "XYZ" label to instance on points scale

Hans Goudey noreply at git.blender.org
Wed Oct 13 00:44:15 CEST 2021


Commit: 53af51ad50ec43ee960eb9125f0adf5c37e2a5cd
Author: Hans Goudey
Date:   Tue Oct 12 17:43:41 2021 -0500
Branches: master
https://developer.blender.org/rB53af51ad50ec43ee960eb9125f0adf5c37e2a5cd

Geometry Nodes: Add "XYZ" label to instance on points scale

===================================================================

M	source/blender/nodes/geometry/nodes/node_geo_instance_on_points.cc

===================================================================

diff --git a/source/blender/nodes/geometry/nodes/node_geo_instance_on_points.cc b/source/blender/nodes/geometry/nodes/node_geo_instance_on_points.cc
index 8c0c0763be8..047fdd0cd57 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_instance_on_points.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_instance_on_points.cc
@@ -44,6 +44,7 @@ static void geo_node_instance_on_points_declare(NodeDeclarationBuilder &b)
       .description("Rotation of the instances");
   b.add_input<decl::Vector>("Scale")
       .default_value({1.0f, 1.0f, 1.0f})
+      .subtype(PROP_XYZ)
       .supports_field()
       .description("Scale of the instances");
   b.add_input<decl::Int>("Stable ID")



More information about the Bf-blender-cvs mailing list