feat(web): Outliner Data menu exposes the library override Troubleshoot operations
Desktop OUTLINER_MT_liboverride draws Make/Reset/Clear, a separator, then a Troubleshoot enum menu (space_outliner.py) that runs OUTLINER_OT_liboverride_troubleshoot_operation with selection_set=SELECTED: Resync / Resync Enforce | Delete. Override rows now get the same submenu; the web entry dispatches OUTLINER_LIBOVERRIDE_TROUBLESHOOT to the engine, which sets the desktop type enum and executes the native operator in the outliner context, reporting 已重同步库覆盖 / 已强制重同步库覆盖 / 已删除库覆盖层级. Verified: headed [outliner-liboverride-troubleshoot-web] plus the full Outliner headed suite 41/41, check-outliner-headed PASS, and the outliner-treeview-production regression. armature-editor-coverage-ui still fails only on the pre-existing PoseConstraintArmatureObject row timeout. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -464,6 +464,7 @@ export type EditorContextEdit = { workspaceId: string; screenId: string } & (
|
||||
| { action: 'OUTLINER_SELECT_BOX'; areaId: string; firstRowId: string; lastRowId: string; mode: 'SET' | 'ADD' | 'SUB' | 'XOR' }
|
||||
| { action: 'OUTLINER_ID_OPERATION'; areaId: string; rowId: string; operation: 'UNLINK' | 'SINGLE' | 'COPY' | 'PASTE' | 'FAKE_ADD' | 'FAKE_CLEAR' | 'ASSET_MARK' | 'ASSET_CLEAR' | 'ASSET_CLEAR_FAKE' | 'LIBOVERRIDE_MAKE' | 'LIBOVERRIDE_RESET' | 'LIBOVERRIDE_CLEAR' | 'LOCAL' | 'SELECT_HIERARCHY' | 'SELECT' | 'DESELECT' | 'SELECT_LINKED' | 'COLLECTION_NEW' | 'COLLECTION_SELECT' | 'COLLECTION_DESELECT' | 'COLLECTION_DUPLICATE' | 'COLLECTION_DUPLICATE_LINKED' | 'COLLECTION_INSTANCE' | 'COLLECTION_COLOR_TAG' | 'COLLECTION_ISOLATE' | 'COLLECTION_SHOW' | 'COLLECTION_HIDE' | 'COLLECTION_SHOW_INSIDE' | 'COLLECTION_HIDE_INSIDE' | 'COLLECTION_ENABLE' | 'COLLECTION_DISABLE' | 'COLLECTION_ENABLE_RENDER' | 'COLLECTION_DISABLE_RENDER' | 'COLLECTION_EXCLUDE_SET' | 'COLLECTION_EXCLUDE_CLEAR' | 'COLLECTION_HOLDOUT_SET' | 'COLLECTION_HOLDOUT_CLEAR' | 'COLLECTION_INDIRECT_ONLY_SET' | 'COLLECTION_INDIRECT_ONLY_CLEAR' | 'COLLECTION_LINK' | 'PURGE'; colorTag?: 'NONE' | 'COLOR_01' | 'COLOR_02' | 'COLOR_03' | 'COLOR_04' | 'COLOR_05' | 'COLOR_06' | 'COLOR_07' | 'COLOR_08' }
|
||||
| { action: 'OUTLINER_RELOCATE'; areaId: string; rowId: string; directory: string; fileName: string }
|
||||
| { action: 'OUTLINER_LIBOVERRIDE_TROUBLESHOOT'; areaId: string; rowId: string; type: 'OVERRIDE_LIBRARY_RESYNC_HIERARCHY' | 'OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE' | 'OVERRIDE_LIBRARY_DELETE_HIERARCHY' }
|
||||
| { action: 'OUTLINER_MODE_TOGGLE'; areaId: string; rowId: string; extend: boolean }
|
||||
| { action: 'OUTLINER_RENAME'; areaId: string; rowId: string; name: string }
|
||||
| { action: 'OUTLINER_SET_DISPLAY_MODE'; areaId: string; displayMode: string }
|
||||
|
||||
Reference in New Issue
Block a user