Comment 2 for bug 458366

Revision history for this message
Stani (stani) wrote :

With the help of Juho I fixed it like this:
$ bzr diff
=== modified file 'data/blender/object.py'
--- data/blender/object.py 2009-09-26 08:42:57 +0000
+++ data/blender/object.py 2009-12-10 15:51:11 +0000
@@ -361,7 +361,7 @@
             left_page.save(temporary_image.path)
             args[image_arg] = temporary_image.path

- if args['page_mapping'] == 'Wrap Both':
+ if args['page_mapping'].startswith('Wrap'):
             im_path = args['input_image_1']
             im = PILImage.open(im_path)
             width, height = im.size

The underlaying issue should be still fixed though:
Juho: The issue has to do with arguments. It's probably missing "'s somewhere as the latter part does not get parsed
properly.