Blender Git Commit Log

Git Commits -> Revision a2ebbeb

Revision a2ebbeb by Hans Goudey (master)
June 8, 2021, 13:27 (GMT)
Fix T88934: Crash with line node count input < 0

Some of the primitive nodes can return null in an error condition.
This is confusing mixed with adding a maderial slot in calling
functions. This is the second crash caused by that confusion. It's
simpler to add the slot right when allocating the mesh, and it will
lend itself better to copy & paste coding in the future.

Differential Revision: https://developer.blender.org/D11530

Commit Details:

Full Hash: a2ebbeb836ae765e98daaf502d49f545f43916fd
Parent Commit: 5b01491
Lines Changed: +6, -6

6 Modified Paths:

/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_circle.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cone.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cube.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_ico_sphere.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_uv_sphere.cc (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021