Fix for opening images in the Background Image panel
authorMatt Ebb <matt@mke3.net>
Wed, 25 Nov 2009 22:58:54 +0000 (22:58 +0000)
committerMatt Ebb <matt@mke3.net>
Wed, 25 Nov 2009 22:58:54 +0000 (22:58 +0000)
release/scripts/ui/space_view3d.py

index edc526f3c553100aebcc2a8a6e501f216e5fd9d1..4a7f78d48407da3ac5bdb6b94c3dbd59a2a8f57f 100644 (file)
@@ -1683,8 +1683,7 @@ class VIEW3D_PT_background_image(bpy.types.Panel):
             layout.active = view.display_background_image
 
             col = layout.column()
-            col.prop(bg, "image", text="")
-            #col.prop(bg, "image_user")
+            col.template_ID(bg, "image", open="image.open")
             col.prop(bg, "size")
             col.prop(bg, "transparency", slider=True)