Maybe fix scriptURL on WebEntities bug

This commit is contained in:
Kasen IO 2020-08-14 23:53:01 -04:00
parent 1601ea9231
commit 21167a0f6a

View file

@ -207,7 +207,7 @@ void WebEntityRenderer::doRenderUpdateSynchronousTyped(const ScenePointer& scene
{
auto scriptURL = entity->getScriptURL();
if (_scriptURL != scriptURL) {
_webSurface->getRootItem()->setProperty("scriptURL", _scriptURL);
_webSurface->getRootItem()->setProperty("scriptURL", scriptURL);
_scriptURL = scriptURL;
}
}