Skip to content
Open
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@

## Unreleased
- Fixed heat loop assignment in the editor so the selected loop is applied consistently.
- Improved performance
- Color animations no longer update all materials when they haven't changed.

Expand Down
8 changes: 7 additions & 1 deletion Source/Modules/ModuleSystemHeat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,13 @@ void SetupUI()

private void ChangeLoop(BaseField field, object oldFieldValueObj)
{
if (!HighLogic.LoadedSceneIsFlight)
if (!HighLogic.LoadedSceneIsFlight && !HighLogic.LoadedSceneIsEditor)
return;

if (simulator == null)
FindSimulator();

if (simulator == null)
return;

var oldLoopID = (int)oldFieldValueObj;
Expand Down