Commit 488f381095e60122f7958666e71db2437cf32b84

Authored by Renan
Committed by Thiago Franco de Moraes
1 parent 47fd17fe
Exists in master

Set obj id as 0 for patriot (#204)

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
invesalius/gui/dialogs.py
@@ -3359,6 +3359,7 @@ class ObjectCalibrationDialog(wx.Dialog): @@ -3359,6 +3359,7 @@ class ObjectCalibrationDialog(wx.Dialog):
3359 choice_ref.SetSelection(1) 3359 choice_ref.SetSelection(1)
3360 choice_ref.Enable(1) 3360 choice_ref.Enable(1)
3361 if self.tracker_id == const.PATRIOT or self.tracker_id == const.ISOTRAKII: 3361 if self.tracker_id == const.PATRIOT or self.tracker_id == const.ISOTRAKII:
  3362 + self.obj_ref_id = 0
3362 choice_ref.SetSelection(0) 3363 choice_ref.SetSelection(0)
3363 choice_ref.Enable(0) 3364 choice_ref.Enable(0)
3364 3365