Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 2 files). Show all
Unified · Split
| @@ -1346,7 +1346,10 @@ void ScriptEngine::callAnimationStateHandler(QScriptValue callback, AnimVariantM · 1345 unmodified lines | ||
| 1346 | 1346 | |
| 1347 | 1347 | void ScriptEngine::updateMemoryCost(const qint64& deltaSize) { |
| 1348 | 1348 | if (deltaSize > 0) { |
| 1349 | + // We've patched qt to fix https://highfidelity.atlassian.net/browse/BUGZ-46 on mac and windows only. | |
| 1350 | +#if defined(Q_OS_WIN) || defined(Q_OS_MAC) | |
| 1349 | 1351 | reportAdditionalMemoryCost(deltaSize); |
| 1352 | +#endif | |
| 1350 | 1353 | } |
| 1351 | 1354 | } |
| 1352 | 1355 | |