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 790c22d..8c12a64 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: