Skip to content

Commit 532a444

Browse files
committed
Update Transformations.py
1 parent 5550bd2 commit 532a444

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

GETOOLS_SOURCE/modules/Transformations.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ class TransformationsAnnotations:
4141
pivotOn = "Show pivot attributes in channel box"
4242
pivotOff = "Hide pivot attributes in channel box"
4343

44+
_negativePositive = "-+ symbols mean negative and positive directions"
4445
direction = "XYZ values for directional movement"
45-
moveDirectionNegative = "Apply directional movement with reverse direction values"
46-
moveDirectionPositive = "Apply directional movement with original direction values"
47-
46+
moveDirection = "Apply XYZ movement with direction values.\n{0}.".format(_negativePositive)
4847
distance = "Distance value for separate axes movement"
49-
moveDistance = "Apply movement to current axis.\n-+ symbols mean negative and positive directinos."
48+
moveDistance = "Apply axis movement using distance.\n{0}.".format(_negativePositive)
5049

5150
class Transformations:
5251
_version = "v0.1"
@@ -122,7 +121,7 @@ def UILayoutLocators(self, layoutMain):
122121
cmds.menuItem(label = "0, 1, 0", command = partial(self.SetDirection, [0, 1, 0]))
123122
cmds.menuItem(label = "0, 0, 1", command = partial(self.SetDirection, [0, 0, 1]))
124123
cmds.gridLayout(parent = rowLayoutDirection, numberOfColumns = 2, cellWidth = 44, cellHeight = Settings.lineHeight)
125-
cmds.button(label = "-XYZ", command = partial(self.MoveSelected, 0, True), backgroundColor = Colors.orange10, annotation = TransformationsAnnotations.moveDirectionNegative)
124+
cmds.button(label = "-XYZ", command = partial(self.MoveSelected, 0, True), backgroundColor = Colors.orange10, annotation = TransformationsAnnotations.moveDirection)
126125
cmds.button(label = "+XYZ", command = partial(self.MoveSelected, 0, False), backgroundColor = Colors.orange50, annotation = TransformationsAnnotations.moveDirectionPositive)
127126

128127
cmds.rowLayout(parent = layoutColumn, adjustableColumn = 2, numberOfColumns = 3, columnWidth3 = (60, 50, 156), columnAlign = [(1, "right"), (2, "center"), (3, "center")], columnAttach = [(1, "both", 0), (2, "both", 0), (3, "both", 0)], height = Settings.lineHeight)

0 commit comments

Comments
 (0)