Cleanup: Remove unused variable
This commit is contained in:
parent
2ee6891728
commit
bc2121147f
Notes:
blender-bot
2023-02-14 01:35:49 +01:00
Referenced by issue #99562, Loop cut tool: loop cuts not increasing using mouse wheel or page up/down
|
@ -528,9 +528,6 @@ static void snap_curves_to_surface_exec_object(Object &curves_ob,
|
|||
|
||||
Mesh &surface_mesh = *static_cast<Mesh *>(surface_ob.data);
|
||||
|
||||
MeshComponent surface_mesh_component;
|
||||
surface_mesh_component.replace(&surface_mesh, GeometryOwnershipType::ReadOnly);
|
||||
|
||||
VArraySpan<float2> surface_uv_map;
|
||||
if (curves_id.surface_uv_map != nullptr) {
|
||||
const bke::AttributeAccessor surface_attributes = bke::mesh_attributes(surface_mesh);
|
||||
|
|
Loading…
Reference in New Issue