|
168 | 168 | * ```ts |
169 | 169 | * // Plug a strategy into the singleton — every applyFixes() call |
170 | 170 | * // sees it from now on. |
171 | | - * import {sceneModelInspector} from "@xeokit/sdk/studio"; |
| 171 | + * import * as sceneModelInspector from "@xeokit/sdk/inspect/sceneModel"; |
172 | 172 | * |
173 | 173 | * sceneModelInspector.DEFAULT_FIX_REGISTRY.register({ |
174 | 174 | * codes: ["MyApp/STALE_PROPERTY_SET"], |
|
183 | 183 | * ```ts |
184 | 184 | * // Or build a one-off registry — leaves the default untouched. |
185 | 185 | * import { |
186 | | - * sceneModelInspector, |
187 | 186 | * FixRegistry, |
188 | 187 | * mergeDuplicateGeometries, |
189 | | - * } from "@xeokit/sdk/studio"; |
| 188 | + * applyFixes, |
| 189 | + * } from "@xeokit/sdk/inspect/sceneModel"; |
190 | 190 | * |
191 | 191 | * const registry = new FixRegistry([ |
192 | 192 | * mergeDuplicateGeometries, // pick the built-ins you want |
193 | 193 | * myFix, |
194 | 194 | * ]); |
195 | | - * sceneModelInspector.applyFixes({sceneModel, report, registry}); |
| 195 | + * applyFixes({sceneModel, report, registry}); |
196 | 196 | * ``` |
197 | 197 | * |
198 | 198 | * Last registration wins for a given code, so plugins can |
|
202 | 202 | * ## Built-in inspections |
203 | 203 | * |
204 | 204 | * One file per inspection under |
205 | | - * {@link demo/sceneModelInspector/inspections}, all pre-registered into |
| 205 | + * {@link studio/sceneModelInspector/inspections}, all pre-registered into |
206 | 206 | * {@link DEFAULT_INSPECTION_REGISTRY}. Each inspection groups |
207 | 207 | * codes by topical concern — one walk, multiple codes — so the |
208 | 208 | * file count stays low and the registration order is meaningful. |
|
226 | 226 | * |
227 | 227 | * ## Built-in fixes |
228 | 228 | * |
229 | | - * One file per fix under {@link demo/sceneModelInspector/fixes}, all |
| 229 | + * One file per fix under {@link studio/sceneModelInspector/fixes}, all |
230 | 230 | * pre-registered into {@link DEFAULT_FIX_REGISTRY}. |
231 | 231 | * |
232 | 232 | * | Fix | Codes handled | |
|
263 | 263 | * ## Putting it together |
264 | 264 | * |
265 | 265 | * ```ts |
266 | | - * import {sceneModelInspector} from "@xeokit/sdk/studio"; |
| 266 | + * import * as sceneModelInspector from "@xeokit/sdk/inspect/sceneModel"; |
267 | 267 | * |
268 | 268 | * const report = sceneModelInspector.inspectSceneModel({ |
269 | 269 | * sceneModel, |
|
0 commit comments