From a4b6c222fad275cea00b5beca504827db650e33c Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Tue, 30 Mar 2021 09:18:33 -0500 Subject: Fix unused variable warning caused by recent cleanup Caused by a cleanup, rBd037fef3bd1dc. --- source/blender/nodes/geometry/nodes/node_geo_transform.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])); -- cgit v1.2.3