diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-28 19:36:28 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-28 19:36:28 +0300 |
commit | 44e4f077a9d7b5b609f6199874802675d75f7266 (patch) | |
tree | a9714f312e31638643a202ad16a5b4dab429ff3e /source/blender/blenkernel/BKE_blender_version.h | |
parent | b32b38b3805fea5baec551acd1a98c4a58b2bb1c (diff) |
Geometry Nodes: Run nodes once on unique instance data
As described in T91672, often it can be much more efficient to run each
node only on the unique geometry of the instances, rather than realizing
all instances and potentially processing redundant data. Sometimes the
performance difference can be completely smooth vs. completely unusable.
Geometry nodes used to hide that choice from users by always realizing
instances, but recently we have decided to expose it. So this commit
makes nodes run once per unique reference in the entire tree of nested
instances in their input geometries, continuing the work started in
rB0559971ab377 and rBf94164d89629f0d2. For the old behavior, a realize
instances node can be added before the nodes, which is done in the
versioning code.
Differential Revision: https://developer.blender.org/D12656
Diffstat (limited to 'source/blender/blenkernel/BKE_blender_version.h')
-rw-r--r-- | source/blender/blenkernel/BKE_blender_version.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_blender_version.h b/source/blender/blenkernel/BKE_blender_version.h index b973d8b9a18..5ef0459663b 100644 --- a/source/blender/blenkernel/BKE_blender_version.h +++ b/source/blender/blenkernel/BKE_blender_version.h @@ -39,7 +39,7 @@ extern "C" { /* Blender file format version. */ #define BLENDER_FILE_VERSION BLENDER_VERSION -#define BLENDER_FILE_SUBVERSION 27 +#define BLENDER_FILE_SUBVERSION 28 /* Minimum Blender version that supports reading file written with the current * version. Older Blender versions will test this and show a warning if the file |