summaryrefslogtreecommitdiffstats
path: root/core/math/math_fieldwise.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-10 13:06:55 +0200
committerGitHub <noreply@github.com>2020-05-10 13:06:55 +0200
commit9cc67b19b8803adf3cb12364f1e3faade7553ebb (patch)
treee4741393cf3a0dd288bc2096c97471ea595340b0 /core/math/math_fieldwise.cpp
parent2d8d311b1280c78e1ae70900186d5ae22a488828 (diff)
parentec7b481170dcd6a7b4cf0e6c1221e204ff7945f3 (diff)
downloadredot-engine-9cc67b19b8803adf3cb12364f1e3faade7553ebb.tar.gz
Merge pull request #38613 from MCrafterzz/plane
Renamed plane's d to distance
Diffstat (limited to 'core/math/math_fieldwise.cpp')
-rw-r--r--core/math/math_fieldwise.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/math_fieldwise.cpp b/core/math/math_fieldwise.cpp
index a47d4ef7ad..e42c399ba4 100644
--- a/core/math/math_fieldwise.cpp
+++ b/core/math/math_fieldwise.cpp
@@ -89,7 +89,7 @@ Variant fieldwise_assign(const Variant &p_target, const Variant &p_source, const
/**/ TRY_TRANSFER_FIELD("x", normal.x)
else TRY_TRANSFER_FIELD("y", normal.y)
else TRY_TRANSFER_FIELD("z", normal.z)
- else TRY_TRANSFER_FIELD("d", d)
+ else TRY_TRANSFER_FIELD("d", distance)
return target;
}