diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-02 03:01:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-02 03:01:57 +0400 |
commit | 90a19ce57893642263a0b91eed96ba1a710d44af (patch) | |
tree | 6cfe25890d7e78904e1690b573cb2877f2195635 /release/scripts/startup/bl_operators/image.py | |
parent | d7de4d28dd5c0042e80e5dc585b35e3808c4e0a4 (diff) |
fix [#29120] project painting error
Diffstat (limited to 'release/scripts/startup/bl_operators/image.py')
-rw-r--r-- | release/scripts/startup/bl_operators/image.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_operators/image.py b/release/scripts/startup/bl_operators/image.py index 790c22d57d0..8c12a6442f7 100644 --- a/release/scripts/startup/bl_operators/image.py +++ b/release/scripts/startup/bl_operators/image.py @@ -192,6 +192,8 @@ class ProjectEdit(Operator): image_new.file_format = 'PNG' image_new.save() + filepath_final = bpy.path.abspath(filepath_final) + try: bpy.ops.image.external_edit(filepath=filepath_final) except RuntimeError as re: |