diff --git a/source/blender/nodes/geometry/nodes/node_geo_deform_curves_on_surface.cc b/source/blender/nodes/geometry/nodes/node_geo_deform_curves_on_surface.cc index b993c996411..a9991a49ad7 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_deform_curves_on_surface.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_deform_curves_on_surface.cc @@ -260,7 +260,7 @@ static void node_geo_exec(GeoNodeExecParams params) Curves &curves_id = *curves_geometry.get_curves_for_write(); CurvesGeometry &curves = CurvesGeometry::wrap(curves_id.geometry); - if (!mesh_orig.attribute_exists(uv_map_name)) { + if (!mesh_eval.attribute_exists(uv_map_name)) { pass_through_input(); char *message = BLI_sprintfN(TIP_("The evaluated surface does not have a uv map called '%s'."), uv_map_name.c_str()); @@ -268,7 +268,7 @@ static void node_geo_exec(GeoNodeExecParams params) MEM_freeN(message); return; } - if (!mesh_eval.attribute_exists(uv_map_name)) { + if (!mesh_orig.attribute_exists(uv_map_name)) { pass_through_input(); char *message = BLI_sprintfN(TIP_("The original surface does not have a uv map called '%s'."), uv_map_name.c_str());