Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #4347 from quadproduction/255-photoshop-save-as
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolar authored Jan 19, 2023
2 parents 629cae2 + d32800f commit ddb5b57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openpype/hosts/photoshop/api/workio.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def has_unsaved_changes():

def save_file(filepath):
_, ext = os.path.splitext(filepath)
if ext not in file_extensions():
ext = '.psd'
lib.stub().saveAs(filepath, ext[1:], True)


Expand Down

0 comments on commit ddb5b57

Please sign in to comment.