Fix problem with sit script

This commit is contained in:
ksuprynowicz 2023-02-12 21:42:31 +01:00
parent 5809576577
commit 37cc62d082

View file

@ -236,7 +236,8 @@ bool vec3FromScriptValue(const ScriptValue& object, glm::vec3& vec3) {
}
if (!x.isValid() || !y.isValid() || !z.isValid()) {
return false;
// V8TODO: This breaks the sit script for some reason
//return false;
}
vec3.x = x.toVariant().toFloat();