Skip to content

Commit

Permalink
Remove extra whitespace
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Stone <jstone@lucasfilm.com>
  • Loading branch information
jstone-lucasfilm authored Dec 13, 2024
1 parent 344e429 commit 57d738a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/MaterialXGraphEditor/Graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4060,14 +4060,13 @@ void Graph::drawGraph(ImVec2 mousePos)

// shift + C is pressed
// build nodegraph from selected nodes

if (ImGui::IsKeyReleased(ImGuiKey_C) &&
io2.KeyShift &&
!io2.KeyCtrl &&
_currUiNode != nullptr &&
!readOnly())
{
// cut nodes
// cut nodes
_copiedNodes.clear();

// since we can't have a node graph inside a node graph
Expand Down Expand Up @@ -4097,7 +4096,6 @@ void Graph::drawGraph(ImVec2 mousePos)
nullptr));
}
}

}

// delete nodes we just copied
Expand All @@ -4119,7 +4117,6 @@ void Graph::drawGraph(ImVec2 mousePos)
// dive inside
if (_currUiNode->getNodeGraph() != nullptr)
{

savePosition();
_graphStack.push(_graphNodes);
_pinStack.push(_currPins);
Expand Down

0 comments on commit 57d738a

Please sign in to comment.