Browse Source

Basis accepts Vector3 as constructor argument.

Chip Collier 8 years ago
parent
commit
fd81c001fc
1 changed files with 1 additions and 0 deletions
  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
 			};