Blender Git Loki

Git Commits -> Revision d20fa6c

Revision d20fa6c by Jacques Lucke (master)
October 26, 2021, 10:48 (GMT)
Geometry Nodes: don't log full fields when not necessary

Previously, the field on every socket was logged for later use. This had
two main negative consequences:
* Increased memory usage, because the fields may contain a lot of data
under some circumstances (e.g. a Ray Cast field contains the target geometry).
* Decreased performance, because anonymous attributes could not be
removed from geometry automatically, because there were still fields that
referenced them.

Now most fields are not logged anymore. Only those that are viewed by a
spreadsheet and constant fields. The required inputs of a field are still
logged in string form to keep socket inspection working.

Commit Details:

Full Hash: d20fa6c4d48580bf5fc140cf83fd7d8829bd8e09
Parent Commit: 41a4c62
Lines Changed: +141, -61

4 Modified Paths:

/source/blender/editors/space_node/node_draw.cc (+70, -54) (Diff)
/source/blender/editors/space_spreadsheet/spreadsheet_data_source_geometry.cc (+5, -7) (Diff)
/source/blender/nodes/intern/geometry_nodes_eval_log.cc (+41, -0) (Diff)
/source/blender/nodes/NOD_geometry_nodes_eval_log.hh (+25, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021