feat(web): Outliner renames armature bones through the native action
Desktop outliner_draw.cc commits F2/double-click renames on bone rows with ED_armature_bone_rename for TSE_BONE, TSE_EBONE and TSE_POSE_CHANNEL. The web tree refused those rows because they carry no objectId/remapId, so the engine now emits kind "bone" for them and a new OUTLINER_RENAME action resolves the row key back to its bArmature and renames the bone (linked armatures stay read-only). The Outliner routes bone rows to that action instead of renameId. 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' }
|
||||
| { 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 }
|
||||
| { action: 'OUTLINER_SET_FILTER'; areaId: string; filter: NativeOutlinerFilter }
|
||||
| { action: 'OUTLINER_SET_SYNC_SELECT'; areaId: string; sync: boolean }
|
||||
|
||||
Reference in New Issue
Block a user