fix [#29120] project painting error
authorCampbell Barton <ideasman42@gmail.com>
Tue, 1 Nov 2011 23:01:57 +0000 (23:01 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 1 Nov 2011 23:01:57 +0000 (23:01 +0000)
release/scripts/startup/bl_operators/image.py

index 790c22d57d0b68833d3a7a3c005bad0b43acd186..8c12a6442f7d6eac033c8cd506b878e1ca2b72c8 100644 (file)
@@ -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: