diff options
Diffstat (limited to 'core/helper')
-rw-r--r-- | core/helper/math_fieldwise.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/helper/math_fieldwise.cpp b/core/helper/math_fieldwise.cpp index cf45902bf9..5545c2d642 100644 --- a/core/helper/math_fieldwise.cpp +++ b/core/helper/math_fieldwise.cpp @@ -110,9 +110,9 @@ Variant fieldwise_assign(const Variant &p_target, const Variant &p_source, const SETUP_TYPE(Rect3) - /**/ TRY_TRANSFER_FIELD("px", pos.x) - else TRY_TRANSFER_FIELD("py", pos.y) - else TRY_TRANSFER_FIELD("pz", pos.z) + /**/ TRY_TRANSFER_FIELD("px", position.x) + else TRY_TRANSFER_FIELD("py", position.y) + else TRY_TRANSFER_FIELD("pz", position.z) else TRY_TRANSFER_FIELD("sx", size.x) else TRY_TRANSFER_FIELD("sy", size.y) else TRY_TRANSFER_FIELD("sz", size.z) |