Showing the changes to libraries/script-engine/src/ScriptValueUtils.cpp (1 of 14 files). Show all
Unified · Split
| @@ -282,7 +282,7 @@ bool vec3FromScriptValue(const ScriptValue& object, glm::vec3& vec3) { · 281 unmodified lines | ||
| 282 | 282 | } |
| 283 | 283 | |
| 284 | 284 | if (!x.isValid() || !y.isValid() || !z.isValid()) { |
| 285 | − // V8TODO: This breaks the sit script for some reason | |
| 285 | + // V8TODO: This breaks the sit script because in our API valid Vec3 can be created from just 2 values | |
| 286 | 286 | //return false; |
| 287 | 287 | } |
| 288 | 288 | |