Skip to content

Commit

Permalink
Remove code
Browse files Browse the repository at this point in the history
Removing these lines of code lets the GUI run and so far no bugs have been detected.
PDillis authored Jun 26, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent abd757f commit 948327c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions visualizer_drag.py
Original file line number Diff line number Diff line change
@@ -177,9 +177,9 @@ def draw_frame(self):
if self.result.init_net:
self.drag_widget.reset_point()

if self.check_update_mask(**self.args):
h, w, _ = self.result.image.shape
self.drag_widget.init_mask(w, h)
# if self.check_update_mask(**self.args):
# h, w, _ = self.result.image.shape
# self.drag_widget.init_mask(w, h)

# Display.
max_w = self.content_width - self.pane_w

0 comments on commit 948327c

Please sign in to comment.