Skip to content

Add UI to toggle on/off loop protection comment #4081

@davepagurek

Description

@davepagurek

Increasing Access

Loop protection currently breaks shaders (#4080) but there is not a clear way to fix the issue when it happens. Adding some UI to toggle on/off loop protection makes it more discoverable.

Feature enhancement details

Ideally the actual state being toggled just lives in the code. Similar to how the library version picker reads the HTML source code and changing the version changes the source code, a toggle for loop protection could add or remove the // noprotect comment.

As extra inspiration, here's what OP does:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement to an existing featureReady for WorkIssue is ready for development work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions