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 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")