From 7ccae0140b97fbbfe170e8c2cae5ddb88fd66dca Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Fri, 28 Feb 2025 15:18:29 +0100 Subject: [PATCH] Fix regression from #3214 on Deformable shader --- Content/Editor/MaterialTemplates/Deformable.shader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content/Editor/MaterialTemplates/Deformable.shader b/Content/Editor/MaterialTemplates/Deformable.shader index 91f96607d..4de948d28 100644 --- a/Content/Editor/MaterialTemplates/Deformable.shader +++ b/Content/Editor/MaterialTemplates/Deformable.shader @@ -210,7 +210,7 @@ float3 GetObjectSize(MaterialInput input) // Gets the current object scale (supports instancing) float3 GetObjectScale(MaterialInput input) { - float4x4 world = input.Object.WorldMatrix; + float4x4 world = WorldMatrix; // Extract scale from the world matrix float3 scale;