Fix #147157: Scale node X input has no label
The scale node X input has no label, while Y does. This is due to the
`.optional_label()` statement which seems to have accidentally been
added in 149a47ba57. To fix this, we just remove the statement.
Pull Request: https://projects.blender.org/blender/blender/pulls/147178
This commit is contained in:
@@ -64,7 +64,6 @@ static void cmp_node_scale_declare(NodeDeclarationBuilder &b)
|
||||
.min(0.0001f)
|
||||
.max(CMP_SCALE_MAX)
|
||||
.structure_type(StructureType::Dynamic)
|
||||
.optional_label()
|
||||
.usage_by_menu("Type", {CMP_NODE_SCALE_RELATIVE, CMP_NODE_SCALE_ABSOLUTE});
|
||||
b.add_input<decl::Float>("Y")
|
||||
.default_value(1.0f)
|
||||
|
||||
Reference in New Issue
Block a user