diff options
| author | alexholly | 2017-06-04 00:25:13 +0200 |
|---|---|---|
| committer | alexholly | 2017-06-04 02:09:17 +0200 |
| commit | a3c90b029308eb46b7fd83a0cf7b502ecbd79d55 (patch) | |
| tree | 37aaaa84b53d962b441de0683a502e189cb371bb /core/helper/math_fieldwise.cpp | |
| parent | 69bec86028f87307e549d7a2f49bbb7e2b1f3771 (diff) | |
| download | godot-a3c90b029308eb46b7fd83a0cf7b502ecbd79d55.tar.gz godot-a3c90b029308eb46b7fd83a0cf7b502ecbd79d55.tar.zst godot-a3c90b029308eb46b7fd83a0cf7b502ecbd79d55.zip | |
Diffstat (limited to 'core/helper/math_fieldwise.cpp')
| -rw-r--r-- | core/helper/math_fieldwise.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/helper/math_fieldwise.cpp b/core/helper/math_fieldwise.cpp index 2f176fb9b..cf45902bf 100644 --- a/core/helper/math_fieldwise.cpp +++ b/core/helper/math_fieldwise.cpp @@ -63,8 +63,8 @@ Variant fieldwise_assign(const Variant &p_target, const Variant &p_source, const SETUP_TYPE(Rect2) - /**/ TRY_TRANSFER_FIELD("x", pos.x) - else TRY_TRANSFER_FIELD("y", pos.y) + /**/ TRY_TRANSFER_FIELD("x", position.x) + else TRY_TRANSFER_FIELD("y", position.y) else TRY_TRANSFER_FIELD("w", size.x) else TRY_TRANSFER_FIELD("h", size.y) |
