Blender Git Commit Log

Git Commits -> Revision 3548aa3

Revision 3548aa3 by Hans Goudey (lineart-shadow)
December 8, 2021, 06:53 (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: 3548aa3485cc92dc3d31e530d5b7be1426216c70
Parent Commit: 9ec203e
Committed By: YimingWu
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021