diff --git a/source/blender/blenloader/intern/versioning_300.cc b/source/blender/blenloader/intern/versioning_300.cc index 13bae7431a1..20d357cb33c 100644 --- a/source/blender/blenloader/intern/versioning_300.cc +++ b/source/blender/blenloader/intern/versioning_300.cc @@ -4530,5 +4530,12 @@ void blo_do_versions_300(FileData *fd, Library * /*lib*/, Main *bmain) */ { /* Keep this block, even when empty. */ + + FOREACH_NODETREE_BEGIN (bmain, ntree, id) { + if (ntree->type == NTREE_COMPOSIT) { + version_node_socket_name(ntree, CMP_NODE_ROTATE, "Degr", "Angle"); + } + } + FOREACH_NODETREE_END; } } diff --git a/source/blender/nodes/composite/nodes/node_composite_rotate.cc b/source/blender/nodes/composite/nodes/node_composite_rotate.cc index fa8b6e42a66..0f46f0ca0ab 100644 --- a/source/blender/nodes/composite/nodes/node_composite_rotate.cc +++ b/source/blender/nodes/composite/nodes/node_composite_rotate.cc @@ -25,7 +25,7 @@ static void cmp_node_rotate_declare(NodeDeclarationBuilder &b) b.add_input("Image") .default_value({1.0f, 1.0f, 1.0f, 1.0f}) .compositor_domain_priority(0); - b.add_input("Degr") + b.add_input("Angle") .default_value(0.0f) .min(-10000.0f) .max(10000.0f) @@ -56,7 +56,7 @@ class RotateOperation : public NodeOperation { Result &result = get_result("Image"); input.pass_through(result); - const math::AngleRadian rotation = get_input("Degr").get_float_value_default(0.0f); + const math::AngleRadian rotation = get_input("Angle").get_float_value_default(0.0f); const float3x3 transformation = math::from_rotation(rotation);