[Bf-blender-cvs] [a4b6c222fad] master: Fix unused variable warning caused by recent cleanup

Hans Goudey noreply at git.blender.org
Tue Mar 30 16:18:41 CEST 2021


Commit: a4b6c222fad275cea00b5beca504827db650e33c
Author: Hans Goudey
Date:   Tue Mar 30 09:18:33 2021 -0500
Branches: master
https://developer.blender.org/rBa4b6c222fad275cea00b5beca504827db650e33c

Fix unused variable warning caused by recent cleanup

Caused by a cleanup, rBd037fef3bd1dc.

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

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

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

diff --git a/source/blender/nodes/geometry/nodes/node_geo_transform.cc b/source/blender/nodes/geometry/nodes/node_geo_transform.cc
index 6213e4ff7d2..83525aa0d22 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_transform.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_transform.cc
@@ -133,7 +133,7 @@ static void transform_volume(Volume *volume,
   Main *bmain = DEG_get_bmain(params.depsgraph());
   BKE_volume_load(volume, bmain);
 
-  const float4x4 matrix = float4x4::from_loc_eul_scale(translation, rotation, scale);
+  const float4x4 matrix = float4x4::from_loc_eul_scale(translation, rotation, limited_scale);
 
   openvdb::Mat4s vdb_matrix;
   memcpy(vdb_matrix.asPointer(), matrix, sizeof(float[4][4]));



More information about the Bf-blender-cvs mailing list