Blender Git Loki
Git Commits -> Revision 9569a52
Revision 9569a52 by Hans Goudey (master) May 8, 2021, 19:53 (GMT) |
Geometry Nodes: Refactor point instance node This patch refactors the instance component to make use of the earlier refactoring in rB4599cea15dcf. Now we don't have to build an array of instance references the size of the point domain, and we can gather the possible instances only once and use the same vector for all component types. Generally the node should be a bit faster and use less memory. The logic is moved around a bit, especially the hashing of the ID attribute to pick from the instance list, but the result is unchanged. Differential Revision: https://developer.blender.org/D11203 |
Commit Details:
Full Hash: 9569a522f28a30d1b95cbee7b05cb3b2a397a268
Parent Commit: 34439f0
Lines Changed: +85, -60
1 Modified Path:
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+85, -60) (Diff)