[Bf-blender-cvs] [a31bd2609f0] master: Cleanup: Remove duplicate call to function

Hans Goudey noreply at git.blender.org
Tue Jun 8 16:55:22 CEST 2021


Commit: a31bd2609f04368136dada7c4024c7547e8723f5
Author: Hans Goudey
Date:   Tue Jun 8 09:55:14 2021 -0500
Branches: master
https://developer.blender.org/rBa31bd2609f04368136dada7c4024c7547e8723f5

Cleanup: Remove duplicate call to function

Missed in rBa2ebbeb836ae765

===================================================================

M	source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_cylinder.cc

===================================================================

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));
 }



More information about the Bf-blender-cvs mailing list