[Bf-blender-cvs] [963448a2af9] temp-geometry-nodes-fields-prototype: Cleanup: Remove unused code

Hans Goudey noreply at git.blender.org
Fri Aug 6 22:30:25 CEST 2021


Commit: 963448a2af94b6ffd1f94aee1d4489cd62c5cb71
Author: Hans Goudey
Date:   Fri Aug 6 14:53:35 2021 -0500
Branches: temp-geometry-nodes-fields-prototype
https://developer.blender.org/rB963448a2af94b6ffd1f94aee1d4489cd62c5cb71

Cleanup: Remove unused code

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

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

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc
index ccd6edc806a..ca2eb08b086 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc
@@ -325,12 +325,6 @@ BLI_NOINLINE static void interpolate_existing_attributes(
 
         i_instance++;
       }
-
-      attribute_math::convert_to_static_type(output_data_type, [&](auto dummy) {
-        using T = decltype(dummy);
-
-        GVArray_Span<T> source_span{*source_attribute};
-      });
     }
 
     attribute_out.save();



More information about the Bf-blender-cvs mailing list