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>2021-10-15 22:20:53 +0300
committerHans Goudey <h.goudey@me.com>2021-10-15 22:20:53 +0300
commit19bab2a5360708242a5f6ea11b6e2ff03568a679 (patch)
tree50c4a4862ed08ca62809b462e273a3925649c9d8 /source/blender/blenkernel/BKE_geometry_set_instances.hh
parent76f386a37a9cf14ac729be048230f81a0a397fc8 (diff)
Geometry Nodes: Object info node optional instance output
The object info node output an instance as a performance optimization. Before that optimization was (almost) invisible to the user, but now that we aren't automatically realizing instances, it isn't intuitive for a single object to become an instance. I refactored the transform node so its ability to translate/transform an entire geometry set was more usable from elsewhere and exposed the function to get a geometry set from an object. Differential Revision: https://developer.blender.org/D12833
Diffstat (limited to 'source/blender/blenkernel/BKE_geometry_set_instances.hh')
-rw-r--r--source/blender/blenkernel/BKE_geometry_set_instances.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_geometry_set_instances.hh b/source/blender/blenkernel/BKE_geometry_set_instances.hh
index 653450c7d8e..d7a60162e81 100644
--- a/source/blender/blenkernel/BKE_geometry_set_instances.hh
+++ b/source/blender/blenkernel/BKE_geometry_set_instances.hh
@@ -20,6 +20,8 @@
namespace blender::bke {
+GeometrySet object_get_evaluated_geometry_set(const Object &object);
+
/**
* Used to keep track of a group of instances using the same geometry data.
*/