Explorar o código

Merge pull request #13080 from Slowgames/bugfix/10721

Basis accepts Vector3 as constructor argument.
Rémi Verschelde %!s(int64=7) %!d(string=hai) anos
pai
achega
a0f49396d6
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/variant.cpp

+ 1 - 0
core/variant.cpp

@@ -267,6 +267,7 @@ bool Variant::can_convert(Variant::Type p_type_from, Variant::Type p_type_to) {
 
 			static const Type valid[] = {
 				QUAT,
+				VECTOR3,
 				NIL
 			};