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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user