diff options
author | Giacom <giacomand@gmail.com> | 2019-04-08 02:52:21 +0100 |
---|---|---|
committer | Giacom <giacomand@gmail.com> | 2019-04-08 02:52:21 +0100 |
commit | c2e63fd27a2112fd2562c7307d15a7516adb52fd (patch) | |
tree | 6e196f59a7577631d594f4995b37d4d4789327a8 /scene/resources/default_theme | |
parent | 9e326ce0900e5810742a990e232e0b0c791dc35c (diff) |
Fixes being unable to use the Quat(Vector3) constructor
The Quat(Vector3) constructor, to initialise a Quat by a euler angle,
was impossible because Variant::construct would only check for
constructors with greater than 1 arguments. I changed it to greater than
or equal to 1 and moved it to the bottom of the priority list so it did
not overshadow the other checks that checked for arguments equal to 1
for simple copy constructors.
Diffstat (limited to 'scene/resources/default_theme')
0 files changed, 0 insertions, 0 deletions