Variable DEFAULT_FIX_REGISTRYConst

DEFAULT_FIX_REGISTRY: FixRegistry = ...

The FixRegistry applyFixes reaches for when no registry is supplied in its params. Pre-populated with the built-in strategies that ship from studio/sceneModelInspector/fixes.

Plugins are expected to register additional strategies into this singleton on import:

import {DEFAULT_FIX_REGISTRY} from "@xeokit/sdk/inspect/sceneModel";

DEFAULT_FIX_REGISTRY.register({
codes: ["MyApp/STALE_PROPERTY_SET"],
description: "Prune deprecated property sets",
apply(issue, sceneModel) { ... },
});

To override a built-in remediation, register your own strategy for the same code — last-registration-wins (see FixRegistry.register). To opt out completely, call DEFAULT_FIX_REGISTRY.unregister(code) — subsequent applyFixes runs treat that code as having no matching strategy and skip it.

Tests / one-off pipelines can ignore the singleton and build a fresh FixRegistry instead.