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
236 }236 }
237 237
238 if (!x.isValid() || !y.isValid() || !z.isValid()) {238 if (!x.isValid() || !y.isValid() || !z.isValid()) {
239 return false;239 // V8TODO: This breaks the sit script for some reason
240 //return false;
240 }241 }
241 242
242 vec3.x = x.toVariant().toFloat();243 vec3.x = x.toVariant().toFloat();