We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got this errors when trying to view stats on Linux x64 build:
[24711:1231/115544:INFO:CONSOLE(1665)] "Uncaught TypeError: Cannot read property 'elementsCount' of undefined", source: file:///tmp/.org.chromium.Chromium.2MyYKo/js/fountainmanager.js (1665)
The following patch seems to stop the crash, but messes up some of the stats:
diff --git a/node-webkit-src/js/fountainmanager.js b/node-webkit-src/js/fountain index 1e4c6ff..307bd44 100644 --- a/node-webkit-src/js/fountainmanager.js +++ b/node-webkit-src/js/fountainmanager.js @@ -1651,8 +1651,8 @@ function hexToRgb(hex) { var elementsCount = 0; var currentScene = 0; for (var i=0; i<objects.length; i++) { + if (typeof sceneStats[objects[i].scene-1] == 'undefined') { sceneStats[ob if (currentScene != objects[i].scene) { - if (typeof sceneStats[objects[i].scene-1] == 'undefined') { sceneStats[ sceneStats[objects[i].scene-1]["elementsCount"] = 0; currentScene = objects[i].scene; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Got this errors when trying to view stats on Linux x64 build:
The following patch seems to stop the crash, but messes up some of the stats:
The text was updated successfully, but these errors were encountered: