Skip to content

Commit

Permalink
update one hand conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Harukaichii committed Sep 4, 2024
1 parent 6a43e57 commit ee9458d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/python/gui/modulespecification_dialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ def __init__(self, moduletype, xslotstructure=None, moduletoload=None, linkedfro
# set default articulators
self.signtype_specslist = { art_setting[0] for art_setting in self.parent().sign.signtype.specslist }
if SIGN_TYPE["ONE_HAND"] in self.signtype_specslist and \
not (SIGN_TYPE["ONE_HAND_NO_MVMT"] in self.signtype_specslist and self.moduletype == ModuleTypes.MOVEMENT):
(SIGN_TYPE["ONE_HAND_NO_MVMT"] not in self.signtype_specslist or self.moduletype != ModuleTypes.MOVEMENT):
articulators = (HAND, {1: True, 2: False})
elif self.moduletype == ModuleTypes.MOVEMENT:
if SIGN_TYPE["TWO_HANDS_ONLY_H1"] in self.signtype_specslist:
articulators = (HAND, {1: True, 2: False})
elif SIGN_TYPE["TWO_HANDS_ONLY_H2"] in self.signtype_specslist:
articulators = (HAND, {1: False, 2: True})
articulators = (HAND, {1: False, 2: True})
if moduletoload is not None:
self.existingkey = moduletoload.uniqueid
timingintervals = deepcopy(moduletoload.timingintervals)
Expand Down

0 comments on commit ee9458d

Please sign in to comment.