From 66f666a50f0ba5e4f1154596cba5fcd4c32935e3 Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Sat, 2 Nov 2019 13:36:27 -0700 Subject: [PATCH] Prepared a delete node interface level function --- src/foldhaus_interface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/foldhaus_interface.cpp b/src/foldhaus_interface.cpp index a56d022..b638b71 100644 --- a/src/foldhaus_interface.cpp +++ b/src/foldhaus_interface.cpp @@ -578,11 +578,11 @@ OPERATION_RENDER_PROC(RenderNodeView) FOLDHAUS_INPUT_COMMAND_PROC(NodeViewDeleteNode) { - /*node_view_operation_state* OpState = (node_view_operation_state*)Operation.OpStateMemory; + node_view_operation_state* OpState = GetCurrentOperationState(State->Modes, node_view_operation_state); if (IsValidOffset(OpState->SelectedNodeOffset)) { - - }*/ + + } } FOLDHAUS_INPUT_COMMAND_PROC(CloseNodeView)