Showing the changes to libraries/script-engine/src/ModelScriptingInterface.cpp (1 of 41 files). Show all
Unified · Split
| @@ -192,7 +192,7 @@ QScriptValue ModelScriptingInterface::getVertex(MeshProxy* meshProxy, int vertex · 191 unmodified lines | ||
| 192 | 192 | } |
| 193 | 193 | |
| 194 | 194 | glm::vec3 pos = vertexBufferView.get<glm::vec3>(vertexIndex); |
| 195 | − return vec3FloatToScriptValue(_modelScriptEngine, pos); | |
| 195 | + return vec3ToScriptValue(_modelScriptEngine, pos); | |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | 198 | |