Skip to content

Dev#87

Merged
JasonMa0012 merged 5 commits into1.xfrom
dev
Feb 11, 2026
Merged

Dev#87
JasonMa0012 merged 5 commits into1.xfrom
dev

Conversation

@JasonMa0012
Copy link
Owner

@JasonMa0012 JasonMa0012 commented Feb 11, 2026

Note

Medium Risk
Changes core inspector rendering by introducing conditional read-only behavior (ActiveIf), which could unexpectedly disable property editing if conditions are misconfigured or metadata caching misses updates.

Overview
New conditional editability: introduces the ActiveIf decorator, parallel to ShowIf, to make properties read-only when conditions fail.

Wires ActiveIf through PerShaderData/PerMaterialData (new activeIfDatas + per-property isActive) and updates LWGUI.DrawProperty to disable GUI.enabled when inactive.

Refactors ShowIfDecorator to centralize compare-function parsing, updates Test/SampleDrawerB.shader and both READMEs to document ActiveIf and adds a new Development Guide section; bumps package version to 1.33.0.

Written by Cursor Bugbot for commit 6c13512. This will update automatically on new commits. Configure here.

@JasonMa0012 JasonMa0012 merged commit b85cf63 into 1.x Feb 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant