summaryrefslogtreecommitdiff
path: root/core/variant/variant_internal.h
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2022-10-27 09:44:21 -0700
committerGitHub <noreply@github.com>2022-10-27 09:44:21 -0700
commit682156e1f0b6fba8debba7c88a0a733e95baaac3 (patch)
treefe68cc8655c4a38a7244f3392149aa79fb254ae1 /core/variant/variant_internal.h
parent7904f70dc438a1b0a644b971c2089383ef776d2f (diff)
parent7f9a8c99c93693023a96eb08afd3d9a723663279 (diff)
Merge pull request #66383 from aaronfranke/basis-from-euler
Clean up Basis from Euler code
Diffstat (limited to 'core/variant/variant_internal.h')
-rw-r--r--core/variant/variant_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/variant/variant_internal.h b/core/variant/variant_internal.h
index 7ae2368fe4..636710c934 100644
--- a/core/variant/variant_internal.h
+++ b/core/variant/variant_internal.h
@@ -826,7 +826,7 @@ VARIANT_ACCESSOR_NUMBER(Projection::Planes)
template <>
struct VariantInternalAccessor<Basis::EulerOrder> {
static _FORCE_INLINE_ Basis::EulerOrder get(const Variant *v) { return Basis::EulerOrder(*VariantInternal::get_int(v)); }
- static _FORCE_INLINE_ void set(Variant *v, Basis::EulerOrder p_value) { *VariantInternal::get_int(v) = p_value; }
+ static _FORCE_INLINE_ void set(Variant *v, Basis::EulerOrder p_value) { *VariantInternal::get_int(v) = (int64_t)p_value; }
};
template <>