| 1990 | } |
| 1991 | |
| 1992 | void EditorContextMoveToNode(const int node_id) |
| 1993 | { |
| 1994 | ImNodesEditorContext& editor = EditorContextGet(); |
| 1995 | ImNodeData& node = ObjectPoolFindOrCreateObject(editor.Nodes, node_id); |
| 1996 | |
| 1997 | editor.Panning.x = -node.Origin.x; |
| 1998 | editor.Panning.y = -node.Origin.y; |
| 1999 | } |
| 2000 | |
| 2001 | void SetImGuiContext(ImGuiContext* ctx) { ImGui::SetCurrentContext(ctx); } |
| 2002 |
nothing calls this directly
no outgoing calls
no test coverage detected