[Bf-blender-cvs] [15593299f3d] master: Revert "Cleanup: Fix warning unused variable 'mode' when doing make lite"

Dalai Felinto noreply at git.blender.org
Wed Sep 21 11:06:25 CEST 2022


Commit: 15593299f3d9164fe1c2ca91d317206a2b64ad6e
Author: Dalai Felinto
Date:   Wed Sep 21 11:05:35 2022 +0200
Branches: master
https://developer.blender.org/rB15593299f3d9164fe1c2ca91d317206a2b64ad6e

Revert "Cleanup: Fix warning unused variable 'mode' when doing make lite"

Sorry, this was working before I rebased. I believe the warning was
fixed and the rebase still applied.

The commit as it was introduced building problems

This reverts commit ae21319d7f7d3e779c25b08d07a1458d6c054560.

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

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

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc b/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc
index e0e43ce9f0a..b3fc24ded68 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_distribute_points_in_volume.cc
@@ -181,7 +181,6 @@ static void point_scatter_density_grid(const openvdb::FloatGrid &grid,
 
 static void geo_node_distribute_points_in_volume_exec(GeoNodeExecParams params)
 {
-#ifdef WITH_OPENVDB
   GeometrySet geometry_set_in = params.extract_input<GeometrySet>("Volume");
 
 #ifdef WITH_OPENVDB



More information about the Bf-blender-cvs mailing list