From a31bd2609f04368136dada7c4024c7547e8723f5 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 8 Jun 2021 09:55:14 -0500 Subject: Cleanup: Remove duplicate call to function Missed in rBa2ebbeb836ae765 --- source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/nodes') 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)); } -- cgit v1.2.3