Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2021-03-30 17:18:33 +0300
committerHans Goudey <h.goudey@me.com>2021-03-30 17:18:33 +0300
commita4b6c222fad275cea00b5beca504827db650e33c (patch)
tree4ade4c9c14a164663827e038609a9a78927d98ba
parent88b5d7f5f39265af05f509b1be42277ebbdc3f7d (diff)
Fix unused variable warning caused by recent cleanup
Caused by a cleanup, rBd037fef3bd1dc.
-rw-r--r--source/blender/nodes/geometry/nodes/node_geo_transform.cc2
1 files changed, 1 insertions, 1 deletions
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]));