Blender Git Commit Log
Git Commits -> Revision 0fd72a9
Revision 0fd72a9 by Hans Goudey (master) December 22, 2021, 20:35 (GMT) |
Cleanup: Avoid adding points to splines sequentially This should be faster because it avoids reallocating the internal vectors when the size is known beforehand, but it may also help a potential refactor to a different data structure (see T94193). |
Commit Details:
Full Hash: 0fd72a98ac1377a385b6558bf34a7cb372677ac1
Parent Commit: b4f978e
Lines Changed: +45, -44
5 Modified Paths:
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_bezier_segment.cc (+16, -31) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadratic_bezier.cc (+8, -4) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_spiral.cc (+6, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_star.cc (+10, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+5, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadratic_bezier.cc (+8, -4) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_spiral.cc (+6, -2) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_star.cc (+10, -5) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_resample.cc (+5, -2) (Diff)