Blender Git Commit Log

Git Commits -> Revision 52e3608

November 16, 2020, 12:48 (GMT)
Geometry Nodes: simplify GeometrySet ownership handling

Previously, GeometrySets and GeometryComponents has reference
counters and could be shared. This commit changes it so that
only GeometryComponents are shared. A GeometrySet is a fairly
small type that is cheap to copy.

A lot of code simplifies when we can assume that GeometrySet
is cheap to copy.

Commit Details:

Full Hash: 52e3608fe9b6c72739570ac6abe1473953c10f1d
Parent Commit: 6ba6e97
Lines Changed: +121, -216

17 Modified Paths:

/source/blender/blenkernel/BKE_geometry_set.h (+1, -2) (Diff)
/source/blender/blenkernel/BKE_geometry_set.hh (+10, -28) (Diff)
/source/blender/blenkernel/BKE_modifier.h (+3, -3) (Diff)
/source/blender/blenkernel/intern/geometry_set.cc (+30, -64) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/pointcloud.cc (+9, -15) (Diff)
/source/blender/modifiers/intern/MOD_nodes.cc (+26, -33) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_boolean.cc (+5, -10) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_edge_split.cc (+4, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_object_info.cc (+2, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc (+7, -8) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_point_instance.cc (+6, -11) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_subdivision_surface.cc (+4, -6) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transform.cc (+7, -15) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_triangulate.cc (+3, -10) (Diff)
/source/blender/nodes/geometry/node_geometry_exec.cc (+1, -1) (Diff)
/source/blender/nodes/intern/node_socket.cc (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021