Browse Source

Merge pull request #13080 from Slowgames/bugfix/10721

Basis accepts Vector3 as constructor argument.
Rémi Verschelde 7 năm trước cách đây
mục cha
commit
a0f49396d6
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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
 			};