Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion scen_edit/view/floating/status_window.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,11 @@ function StatusWindow:_UpdateMemory()
-- We're detecting extensive memory usage here and exiting the current state if critical.
-- TODO: Act on it a bit better and automatically clear the undo-redo stack instead of prompting the user to do stuff.
local color = SB.conf.STATUS_TEXT_OK_COLOR
if memory > 500 then

-- If the BIGMEM BAR105 engine build is used, then we dont ever really need to warn the user.
local memoryWarnLevel = 500
if string.find(Engine.versionFull,"BIGMEM", nil, true) then memoryWarnLevel = 16000 end
if memory > memoryWarnLevel then
color = SB.conf.STATUS_TEXT_DANGER_COLOR
if not self.warnedTime or os.clock() - self.warnedTime > 10 then
self.warnedTime = os.clock()
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.