2
0
Эх сурвалжийг харах

Merge pull request #13080 from Slowgames/bugfix/10721

Basis accepts Vector3 as constructor argument.
Rémi Verschelde 7 жил өмнө
parent
commit
a0f49396d6

+ 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[] = {
 			static const Type valid[] = {
 				QUAT,
 				QUAT,
+				VECTOR3,
 				NIL
 				NIL
 			};
 			};