Merge remote-tracking branch 'origin/master' into 1.6
This commit is contained in:
@@ -93,12 +93,13 @@ namespace FlaxEditor.States
|
||||
/// </summary>
|
||||
public virtual void UpdateFPS()
|
||||
{
|
||||
var editorFps = Editor.Options.Options.General.EditorFPS;
|
||||
var generalOptions = Editor.Options.Options.General;
|
||||
var editorFps = generalOptions.EditorFPS;
|
||||
if (!Platform.HasFocus)
|
||||
{
|
||||
// Drop performance if app has no focus
|
||||
Time.DrawFPS = 15;
|
||||
Time.UpdateFPS = 15;
|
||||
Time.DrawFPS = generalOptions.EditorFPSWhenNotFocused;
|
||||
Time.UpdateFPS = generalOptions.EditorFPSWhenNotFocused;
|
||||
}
|
||||
else if (editorFps < 1)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user