Commit: 6ef557fdf1390c17ef6f542e7a545bb7293a0aa3
Author: Jacques Lucke
Date:   Mon Feb 15 10:31:41 2021 +0100
Branches: sculpt-dev
https://developer.blender.org/rB6ef557fdf1390c17ef6f542e7a545bb7293a0aa3

Cleanup: unused variable

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

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

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

diff --git 
a/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc 
b/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc
index dc924ede3a1..8a098c366a0 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_attribute_randomize.cc
@@ -154,6 +154,7 @@ static void randomize_attribute_bool(MutableSpan<bool> span,
                                      const GeometryNodeAttributeRandomizeMode 
operation)
 {
   BLI_assert(operation == GEO_NODE_ATTRIBUTE_RANDOMIZE_REPLACE_CREATE);
+  UNUSED_VARS_NDEBUG(operation);
   for (const int i : span.index_range()) {
     const bool random_value = get_random_value<bool>(ids[i], seed);
     span[i] = random_value;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to