Fixed a bug with the passthrough extension tool that was submitting empty composition layers and tripping up the Varjo runtime and preventing session start.
@@ -19,7 +19,7 @@ namespace StereoKit.Framework
public bool Available => extAvailable;
public bool Enabled { get => extAvailable && enabled; set => enabled = value; }
public bool EnabledPassthrough { get => enabledPassthrough; set {
- if (enabledPassthrough != value) {
+ if (Available && enabledPassthrough != value) {
enabledPassthrough = value;
if ( enabledPassthrough) StartPassthrough();
if (!enabledPassthrough) EndPassthrough();
