Bugfix for [#29327] background images: 'Not Set' displayed although image is already...
authorThomas Dinges <blender@dingto.org>
Sat, 19 Nov 2011 23:06:10 +0000 (23:06 +0000)
committerThomas Dinges <blender@dingto.org>
Sat, 19 Nov 2011 23:06:10 +0000 (23:06 +0000)
release/scripts/startup/bl_ui/space_view3d.py

index 15c044421420617cc60b0f0472aed5e6229a718a..6547fb7ad9f10eb1ecb6465b3d6f7e751976b55f 100644 (file)
@@ -2297,7 +2297,7 @@ class VIEW3D_PT_background_image(Panel):
             row.prop(bg, "show_expanded", text="", emboss=False)
             if bg.source == 'IMAGE' and bg.image:
                 row.prop(bg.image, "name", text="", emboss=False)
-            if bg.source == 'MOVIE' and bg.clip:
+            elif bg.source == 'MOVIE' and bg.clip:
                 row.prop(bg.clip, "name", text="", emboss=False)
             else:
                 row.label(text="Not Set")