Skip to content

Commit

Permalink
Fix type-hint doc-strings for opening windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
david-cattermole committed Jun 21, 2024
1 parent 6ee8d17 commit 96460d9
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions python/mmSolver/tools/centertwodee/ui/centertwodee_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new center 2D window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: CenterTwoDeeWindow or None.
"""
win = CenterTwoDeeWindow.open_window(
show=show, auto_raise=auto_raise, delete=delete
Expand Down
6 changes: 3 additions & 3 deletions python/mmSolver/tools/channelsen/ui/channelsen_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:returns: A new channel sensitivity window, or None if the window
cannot be opened.
:rtype: ChannelSenWindow or None.
"""
win = ChannelSenWindow.open_window(show=show, auto_raise=auto_raise, delete=delete)
return win
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new convert marker window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: ConvertMarkerWindow or None.
"""
win = ConvertMarkerWindow.open_window(
show=show, auto_raise=auto_raise, delete=delete
Expand Down
4 changes: 2 additions & 2 deletions python/mmSolver/tools/imagecache/ui/imagecache_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new image cache window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: ImageCacheWindow or None.
"""
win = ImageCacheWindow.open_window(show=show, auto_raise=auto_raise, delete=delete)
return win
4 changes: 2 additions & 2 deletions python/mmSolver/tools/loadmarker/ui/loadmarker_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,9 +259,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new loadMarker window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: LoadMarkerWindow or None.
"""
win = LoadMarkerWindow.open_window(show=show, auto_raise=auto_raise, delete=delete)
return win
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:returns: A new ray-cast marker window, or None if the window cannot
be opened.
:rtype: RayCastMarkerWindow or None.
"""
win = RayCastMarkerWindow.open_window(
show=show, auto_raise=auto_raise, delete=delete
Expand Down
4 changes: 2 additions & 2 deletions python/mmSolver/tools/reparent2/ui/reparent2_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new reparent2 window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: Reparent2Window or None.
"""
win = Reparent2Window.open_window(show=show, auto_raise=auto_raise, delete=delete)
return win
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new origin frame window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: OriginFrameWindow or None.
"""
win = OriginFrameWindow.open_window(show=show, auto_raise=auto_raise, delete=delete)
return win
4 changes: 2 additions & 2 deletions python/mmSolver/tools/smoothkeyframes/ui/smoothkeys_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new smooth keys window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: SmoothKeysWindow or None.
"""
win = SmoothKeysWindow.open_window(show=show, auto_raise=auto_raise, delete=delete)
return win
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def main(show=True, auto_raise=True, delete=False):
developing the UI in Maya script editor.
:type delete: bool
:returns: A new solver window, or None if the window cannot be
:returns: A new surface cluster window, or None if the window cannot be
opened.
:rtype: SolverWindow or None.
:rtype: SurfaceClusterWindow or None.
"""
win = SurfaceClusterWindow.open_window(
show=show, auto_raise=auto_raise, delete=delete
Expand Down

0 comments on commit 96460d9

Please sign in to comment.