[Bf-blender-cvs] [1d53bf0412b] temp-geometry-nodes-fields-prototype: Cleanup: Remove unused variable

Hans Goudey noreply at git.blender.org
Sat Aug 7 02:01:05 CEST 2021


Commit: 1d53bf0412ba32df699b759431b006f3783a861a
Author: Hans Goudey
Date:   Fri Aug 6 19:00:58 2021 -0500
Branches: temp-geometry-nodes-fields-prototype
https://developer.blender.org/rB1d53bf0412ba32df699b759431b006f3783a861a

Cleanup: Remove unused variable

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

M	source/blender/bmesh/operators/bmo_inset.c

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

diff --git a/source/blender/bmesh/operators/bmo_inset.c b/source/blender/bmesh/operators/bmo_inset.c
index 1e30f1b72b3..7ced0a5ea9f 100644
--- a/source/blender/bmesh/operators/bmo_inset.c
+++ b/source/blender/bmesh/operators/bmo_inset.c
@@ -706,7 +706,7 @@ void bmo_inset_region_exec(BMesh *bm, BMOperator *op)
   const float thickness = BMO_slot_float_get(op->slots_in, "thickness");
   const bool use_attributes = BMO_slot_bool_get(op->slots_in, "use_attributes");
   const float *thickness_array = BMO_slot_ptr_get(op->slots_in, "thickness_array");
-  const float *depth_array = BMO_slot_ptr_get(op->slots_in, "depth_array");
+  // const float *depth_array = BMO_slot_ptr_get(op->slots_in, "depth_array");
   const float depth = BMO_slot_float_get(op->slots_in, "depth");
 #ifdef USE_LOOP_CUSTOMDATA_MERGE
   const bool has_math_ldata = (use_interpolate && CustomData_has_math(&bm->ldata));



More information about the Bf-blender-cvs mailing list