Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-04-04 18:28:10 +0300
committerHans Goudey <h.goudey@me.com>2022-04-04 18:28:10 +0300
commit9eb4cb956b7037e9737c2f15cde3d1bdcfff7d5f (patch)
treea8506ad0bbfdbf0c1028179a5ca4127785581af7 /source/blender/geometry
parent432ad4c63278762079a79fc2a8ddc2647a2228cc (diff)
Cleanup: Remove unused function
Unused after 943b919fe807
Diffstat (limited to 'source/blender/geometry')
-rw-r--r--source/blender/geometry/GEO_realize_instances.hh2
-rw-r--r--source/blender/geometry/intern/realize_instances.cc8
2 files changed, 0 insertions, 10 deletions
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