Blender Git Loki

Git Commits -> Revision 2d8606b

Revision 2d8606b by Hans Goudey (master)
December 3, 2021, 21:25 (GMT)
Cleanup: Use references in node editor, other improvements

This helps to tell when a pointer is expected to be null, and avoid
overly verbose code when dereferencing. This commit also includes
a few other cleanups in this area:
- Use const in a few places
- Use `float2` instead of `float[2]`
- Remove some unnecessary includes and old code
The change can be continued further in the future.

Commit Details:

Full Hash: 2d8606b36071dd14290aa8852451535a49d3096d
Parent Commit: ca0dbf8
Lines Changed: +1270, -1295

14 Modified Paths:

/source/blender/blenkernel/BKE_node.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -1) (Diff)
/source/blender/editors/space_node/drawnode.cc (+133, -163) (Diff)
/source/blender/editors/space_node/node_add.cc (+43, -44) (Diff)
/source/blender/editors/space_node/node_draw.cc (+455, -455) (Diff)
/source/blender/editors/space_node/node_edit.cc (+105, -99) (Diff)
/source/blender/editors/space_node/node_geometry_attribute_search.cc (+8, -8) (Diff)
/source/blender/editors/space_node/node_group.cc (+68, -68) (Diff)
/source/blender/editors/space_node/node_intern.hh (+72, -69) (Diff)
/source/blender/editors/space_node/node_relationships.cc (+275, -275) (Diff)
/source/blender/editors/space_node/node_select.cc (+62, -62) (Diff)
/source/blender/editors/space_node/node_templates.cc (+3, -4) (Diff)
/source/blender/editors/space_node/node_view.cc (+39, -41) (Diff)
/source/blender/editors/space_node/space_node.cc (+4, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021