From e94e57ea090ef367705bfe7a081b5545694ab24a Mon Sep 17 00:00:00 2001 From: OverloadedOrama <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 11 Jun 2020 00:05:19 +0300 Subject: [PATCH] Removed canvas.line_2d references from SelectionRectangle.gd --- src/SelectionRectangle.gd | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/SelectionRectangle.gd b/src/SelectionRectangle.gd index 732d60904..367efdf4a 100644 --- a/src/SelectionRectangle.gd +++ b/src/SelectionRectangle.gd @@ -66,8 +66,6 @@ func _process(_delta : float) -> void: tex.create_from_image(img, 0) update() - # Makes line2d invisible - Global.canvas.line_2d.default_color = Color(0, 0, 0, 0) else: get_parent().get_parent().mouse_default_cursor_shape = Input.CURSOR_ARROW @@ -106,9 +104,6 @@ func _process(_delta : float) -> void: Global.canvas.handle_redo("Rectangle Select") # Redo - # Makes line2d visible - Global.canvas.line_2d.default_color = Color.darkgray - if Global.current_project.selected_pixels.size() > 0: # Handle copy if Input.is_action_just_pressed("copy"):