summaryrefslogtreecommitdiff
path: root/scene/resources/cylinder_shape.h
diff options
context:
space:
mode:
authorGiacom <giacomand@gmail.com>2019-04-08 02:52:21 +0100
committerGiacom <giacomand@gmail.com>2019-04-08 02:52:21 +0100
commitc2e63fd27a2112fd2562c7307d15a7516adb52fd (patch)
tree6e196f59a7577631d594f4995b37d4d4789327a8 /scene/resources/cylinder_shape.h
parent9e326ce0900e5810742a990e232e0b0c791dc35c (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/cylinder_shape.h')
0 files changed, 0 insertions, 0 deletions