Skip to content

Commit

Permalink
Merge pull request #91 from idadzie/fix-unboundlocalerror
Browse files Browse the repository at this point in the history
Fix UnboundLocalError
  • Loading branch information
XingangPan committed Jun 27, 2023
2 parents 651edb9 + 8cf0f51 commit 3eb9567
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions viz/drag_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ def load_points(self, suffix):
@imgui_utils.scoped_by_object_id
def __call__(self, show=True):
viz = self.viz
reset = False
if show:
with imgui_utils.grayed_out(self.disabled_time != 0):
imgui.text('Drag')
Expand Down

0 comments on commit 3eb9567

Please sign in to comment.