diff options
author | Hans Goudey <h.goudey@me.com> | 2021-06-08 17:55:14 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-06-08 17:55:14 +0300 |
commit | a31bd2609f04368136dada7c4024c7547e8723f5 (patch) | |
tree | 4f2b64ffbf0049e7e1abf2bd40bef57676774db7 | |
parent | 2e19649bb91bd2ee686eff8bde96b34d66ad1675 (diff) |
Cleanup: Remove duplicate call to function
Missed in rBa2ebbeb836ae765
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc b/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc index c7b9fb920f8..1767f765da4 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc @@ -76,7 +76,6 @@ static void geo_node_mesh_primitive_cylinder_exec(GeoNodeExecParams params) /* The cylinder is a special case of the cone mesh where the top and bottom radius are equal. */ Mesh *mesh = create_cylinder_or_cone_mesh(radius, radius, depth, verts_num, fill_type); - BKE_id_material_eval_ensure_default_slot(&mesh->id); params.set_output("Geometry", GeometrySet::create_with_mesh(mesh)); } |