| 1220 | RegisterAction({"Copy Transform", "Selection", "Copy the last-selected entity's transform to the clipboard", |
| 1221 | FInputChord{ImGuiKey_C, true, true}, [this] |
| 1222 | { |
| 1223 | CopyTransformFromLastSelected(); |
| 1224 | }, Hovered}); |
| 1225 | |
| 1226 | RegisterAction({"Paste Transform", "Selection", "Apply the previously-copied transform to every selected entity", |
| 1227 | FInputChord{ImGuiKey_V, true, true}, [this] |
| 1228 | { |
| 1229 | PasteTransformToSelection(); |
| 1230 | }, Hovered}); |
| 1231 | |
| 1232 | RegisterAction({"Convert Entity Storage", "World", "Switch the world between one package and one file per entity, undoable until saved", |
| 1233 | FInputChord{}, [this] |
| 1234 | { |
| 1235 | ConvertEntityStorage(); |
| 1236 | }}); |
| 1237 | |
| 1238 | // FEditorUI routes Ctrl+S to the focused tool, so a live callback here would save twice. |
| 1239 | RegisterAction({"Save World", "File", "Save the current world", |
| 1240 | FInputChord{ImGuiKey_S, true}, nullptr}); |
| 1241 | |
| 1242 | // Advisory entries, inline-handled shortcuts registered so the shortcuts window surfaces them. |
| 1243 | RegisterAction({"Copy Entities", "Selection", "Copy the selection to the entity clipboard", |
| 1244 | FInputChord{ImGuiKey_C, true}, nullptr}); |
| 1245 | |
| 1246 | RegisterAction({"Duplicate Entities", "Selection", "Duplicate the selection in place", |
| 1247 | FInputChord{ImGuiKey_D, true}, nullptr}); |
| 1248 | |
| 1249 | RegisterAction({"Drag a Copy", "Selection", "Alt-drag the transform gizmo to drag a duplicate of the selection", |
| 1250 | FInputChord{}, nullptr}); |
| 1251 | |
| 1252 | RegisterAction({"Camera Follows Drag", "Selection", "Hold Shift while moving the selection with the gizmo to bring the camera along", |
| 1253 | FInputChord{}, nullptr}); |
| 1254 | |
| 1255 | RegisterAction({"Paste Entities", "Selection", "Paste previously-copied entities", |
| 1256 | FInputChord{ImGuiKey_V, true}, nullptr}); |
nothing calls this directly
no outgoing calls
no test coverage detected