From 9eb4cb956b7037e9737c2f15cde3d1bdcfff7d5f Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Mon, 4 Apr 2022 10:28:10 -0500 Subject: Cleanup: Remove unused function Unused after 943b919fe807 --- source/blender/geometry/GEO_realize_instances.hh | 2 -- source/blender/geometry/intern/realize_instances.cc | 8 -------- 2 files changed, 10 deletions(-) (limited to 'source/blender/geometry') diff --git a/source/blender/geometry/GEO_realize_instances.hh b/source/blender/geometry/GEO_realize_instances.hh index dbfa19682ac..9c46de6fdca 100644 --- a/source/blender/geometry/GEO_realize_instances.hh +++ b/source/blender/geometry/GEO_realize_instances.hh @@ -33,6 +33,4 @@ struct RealizeInstancesOptions { */ GeometrySet realize_instances(GeometrySet geometry_set, const RealizeInstancesOptions &options); -GeometrySet realize_instances_legacy(GeometrySet geometry_set); - } // namespace blender::geometry diff --git a/source/blender/geometry/intern/realize_instances.cc b/source/blender/geometry/intern/realize_instances.cc index 8d186edc607..623bce35a15 100644 --- a/source/blender/geometry/intern/realize_instances.cc +++ b/source/blender/geometry/intern/realize_instances.cc @@ -1378,14 +1378,6 @@ GeometrySet realize_instances(GeometrySet geometry_set, const RealizeInstancesOp return new_geometry_set; } -GeometrySet realize_instances_legacy(GeometrySet geometry_set) -{ - RealizeInstancesOptions options; - options.keep_original_ids = true; - options.realize_instance_attributes = false; - return realize_instances(std::move(geometry_set), options); -} - /** \} */ } // namespace blender::geometry -- cgit v1.2.3