From a3226bdf3e98dc536edb77a675f1673d0cb284fa Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 9 Jun 2021 16:51:07 -0500 Subject: Fix: Point translate and point scale don't execute on curve data --- source/blender/nodes/geometry/nodes/node_geo_point_scale.cc | 3 +++ source/blender/nodes/geometry/nodes/node_geo_point_translate.cc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_scale.cc b/source/blender/nodes/geometry/nodes/node_geo_point_scale.cc index 655f5475856..265ec9fb776 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_scale.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_scale.cc @@ -115,6 +115,9 @@ static void geo_node_point_scale_exec(GeoNodeExecParams params) if (geometry_set.has()) { execute_on_component(params, geometry_set.get_component_for_write()); } + if (geometry_set.has()) { + execute_on_component(params, geometry_set.get_component_for_write()); + } params.set_output("Geometry", std::move(geometry_set)); } diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_translate.cc b/source/blender/nodes/geometry/nodes/node_geo_point_translate.cc index 44203228899..293f151fe19 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_translate.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_translate.cc @@ -69,6 +69,9 @@ static void geo_node_point_translate_exec(GeoNodeExecParams params) if (geometry_set.has()) { execute_on_component(params, geometry_set.get_component_for_write()); } + if (geometry_set.has()) { + execute_on_component(params, geometry_set.get_component_for_write()); + } params.set_output("Geometry", std::move(geometry_set)); } -- cgit v1.2.3