Skip to content

Commit ad1179f

Browse files
committed
Code review
1 parent cfad38a commit ad1179f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

editor/src/messages/portfolio/document/utility_types/network_interface.rs

-1
Original file line numberDiff line numberDiff line change
@@ -4198,7 +4198,6 @@ impl NodeNetworkInterface {
41984198
let Some(downstream_nodes) = outward_wires.get(&current_node) else { continue };
41994199
for downstream_node in downstream_nodes {
42004200
if let InputConnector::Node { node_id: downstream_id, .. } = downstream_node {
4201-
let downstream_node_output = OutputConnector::node(*downstream_id, 0);
42024201
if !delete_nodes.contains(downstream_id) {
42034202
can_delete = false;
42044203
break;

editor/src/messages/tool/tool_messages/line_tool.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,8 @@ fn generate_line(tool_data: &mut LineToolData, snap_data: SnapData, lock_angle:
448448
#[cfg(test)]
449449
mod test_line_tool {
450450
use crate::messages::portfolio::document::graph_operation::utility_types::TransformIn;
451-
use crate::{messages::tool::common_functionality::graph_modification_utils::NodeGraphLayer, test_utils::test_prelude::*};
451+
use crate::messages::tool::common_functionality::graph_modification_utils::NodeGraphLayer;
452+
use crate::test_utils::test_prelude::*;
452453
use glam::DAffine2;
453454
use graph_craft::document::value::TaggedValue;
454455

0 commit comments

Comments
 (0)