We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e8d4f5 commit 24f5626Copy full SHA for 24f5626
ProbeControlRoom/ProbeControlRoom.cs
@@ -348,6 +348,9 @@ public bool startIVA()
348
return false;
349
}
350
351
+ // this prevents the portrait gallery from responding to VesselWasModified callbacks
352
+ KerbalPortraitGallery.Instance.enabled = false;
353
+
354
// spawn the internal model
355
if (aPart.internalModel == null)
356
{
@@ -516,6 +519,9 @@ public void stopIVA()
516
519
aPart.internalModel.gameObject.SetActive(false);
517
520
518
521
522
+ // re-enable the portrait gallery
523
+ KerbalPortraitGallery.Instance.enabled = true;
524
525
//Restore settings to levels prior to entering IVA
526
if (ProbeControlRoomSettings.Instance.DisableSounds)
527
0 commit comments