mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Fix problem with sit script
This commit is contained in:
parent
5809576577
commit
37cc62d082
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue