History

Fix problem with sit script

ksuprynowicz committed 3 years ago

Commit 37cc62d1 parent 58095761 file · +2 −1Browse files

Showing the changes to libraries/script-engine/src/ScriptValueUtils.cpp (1 of 1 file). Show all

Unified · Split

libraries/script-engine/src/ScriptValueUtils.cpp+2−1
@@ -236,7 +236,8 @@ bool vec3FromScriptValue(const ScriptValue& object, glm::vec3& vec3) { · 235 unmodified lines
236236 }
237237
238238 if (!x.isValid() || !y.isValid() || !z.isValid()) {
239− return false;
239+ // V8TODO: This breaks the sit script for some reason
240+ //return false;
240241 }
241242
242243 vec3.x = x.toVariant().toFloat();