File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
pipeline/pipe/m/playblast Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -53,11 +53,7 @@ class PlayblastDialog(ButtonPair, QtWidgets.QMainWindow):
5353
5454 class SAVE_LOCS :
5555 CUSTOM = SaveLocation ("Custom Folder" , "" , Playblaster .PRESET .WEB )
56- CURRENT = SaveLocation (
57- "Current Folder" ,
58- Path (mc .file (query = True , sceneName = True )).parent , # type: ignore[arg-type]
59- Playblaster .PRESET .WEB ,
60- )
56+ CURRENT = SaveLocation ("Current Folder" , "" , Playblaster .PRESET .WEB )
6157
6258 class MAYA_HUDS :
6359 CAM_NAME = "HUDCameraNames"
@@ -87,8 +83,11 @@ def __init__(
8783 windowTitle : str = "LnD Playblast" ,
8884 ) -> None :
8985 super ().__init__ (parent , windowTitle = windowTitle )
90- # initialize SAVE_LOCS custom path
86+ # initialize SAVE_LOCS paths
9187 self .SAVE_LOCS .CUSTOM ._path = lambda : self ._custom_folder_text .text ()
88+ self .SAVE_LOCS .CURRENT ._path = lambda : Path (
89+ mc .file (query = True , sceneName = True ) # type: ignore[arg-type]
90+ ).parent
9291
9392 # initialize other values
9493 self .shot_configs = shot_configs
You can’t perform that action at this time.
0 commit comments