From 590df8bef1112640597c0bb7306da7c97b09b78c Mon Sep 17 00:00:00 2001 From: Timothy Liu <154667371+timothyliu3d@users.noreply.github.com> Date: Thu, 10 Jul 2025 23:40:29 -0700 Subject: [PATCH 1/2] fix: Allow Maya-compatible names for `rig_name` property. Done by changing its update method from `HelperSlots.updateLineEdit()` to `HelperSlots.updateLineEdit2`. --- release/scripts/mgear/shifter/guide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/scripts/mgear/shifter/guide.py b/release/scripts/mgear/shifter/guide.py index 8b2d6a25..f0840efb 100644 --- a/release/scripts/mgear/shifter/guide.py +++ b/release/scripts/mgear/shifter/guide.py @@ -1851,7 +1851,7 @@ def create_connections(self): # Setting Tab tap = self.guideSettingsTab tap.rigName_lineEdit.editingFinished.connect( - partial(self.updateLineEdit, tap.rigName_lineEdit, "rig_name") + partial(self.updateLineEdit2, tap.rigName_lineEdit, "rig_name") ) tap.mode_comboBox.currentIndexChanged.connect( partial(self.updateComboBox, tap.mode_comboBox, "mode") From 65f4247d5364ff7ca5e9f0776e66e20b7aca125c Mon Sep 17 00:00:00 2001 From: Timothy Liu <154667371+timothyliu3d@users.noreply.github.com> Date: Sat, 23 Aug 2025 16:35:08 -0700 Subject: [PATCH 2/2] fix: Fix incorrect typehint. --- release/scripts/mgear/core/curve.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/release/scripts/mgear/core/curve.py b/release/scripts/mgear/core/curve.py index 353a8545..ecaf3275 100644 --- a/release/scripts/mgear/core/curve.py +++ b/release/scripts/mgear/core/curve.py @@ -64,10 +64,11 @@ def addCurve( Arguments: parent (dagNode): Parent object. name (str): Name - points (list of float): points of the curve in a one dimension array + points (list of float | list of datatypes.Vector | list of om2.MPoint): + points of the curve in a one dimension array [point0X, point0Y, point0Z, 1, point1X, point1Y, point1Z, 1, ...]. close (bool): True to close the curve. - degree (bool): 1 for linear curve, 3 for Cubic. + degree (int): 1 for linear curve, 3 for Cubic. m (matrix): Global transform. op (bool, optional): If True will add a curve that pass over the points This is equivalent of using"editPoint " flag