| 964 | { |
| 965 | // An undocked drawer tool renders in the footer, but still ticks so its per-frame logic runs. |
| 966 | if (FFooterDrawer* Drawer = FindDrawerForTool(Tool); Drawer != nullptr && !Drawer->bDocked) |
| 967 | { |
| 968 | Tool->Update(UpdateContext); |
| 969 | continue; |
| 970 | } |
| 971 | |
| 972 | if (!SubmitToolMainWindow(UpdateContext, Tool, DockspaceID)) |
| 973 | { |
| 974 | ToolToClose = Tool; |
| 975 | } |
| 976 | } |
| 977 | |
| 978 | for (FEditorTool* Tool : EditorTools) |
| 979 | { |
| 980 | if (Tool == ToolToClose) |
| 981 | { |
| 982 | continue; |
| 983 | } |
| 984 | |
| 985 | if (FFooterDrawer* Drawer = FindDrawerForTool(Tool); Drawer != nullptr && !Drawer->bDocked) |
| 986 | { |
| 987 | continue; |
no test coverage detected