ソースを参照

Merge pull request #13080 from Slowgames/bugfix/10721

Basis accepts Vector3 as constructor argument.
Rémi Verschelde 7 年 前
コミット
a0f49396d6
1 ファイル変更1 行追加0 行削除
  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
 			};