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-31 19:32:52 +0300
committerHans Goudey <h.goudey@me.com>2021-03-31 19:32:52 +0300
commit46ee9b599aeec6400bf6ff7d87431d71fb87a2e0 (patch)
tree756f598bf0087b659fe6f7afd71c4a3052a3f709 /source/blender/nodes
parent94bfb1ab620add53d08cf123548e2146e5f3063a (diff)
Fix T87094: Transforming geometry instances component is broken
Caused by an incorrect transformation order in cleanup commit rBd037fef3bd1dc2e. The fix is to simply reverse the order.
Diffstat (limited to 'source/blender/nodes')
-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 83525aa0d22..2c05c98c9ba 100644
--- a/source/blender/nodes/geometry/nodes/node_geo_transform.cc
+++ b/source/blender/nodes/geometry/nodes/node_geo_transform.cc
@@ -111,7 +111,7 @@ static void transform_instances(InstancesComponent &instances,
else {
const float4x4 matrix = float4x4::from_loc_eul_scale(translation, rotation, scale);
for (float4x4 &transform : transforms) {
- transform = transform * matrix;
+ transform = matrix * transform;
}
}
}