Blender Conference Feature Request by Jonathan:
authorThomas Dinges <blender@dingto.org>
Sun, 30 Oct 2011 23:01:24 +0000 (23:01 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 30 Oct 2011 23:01:24 +0000 (23:01 +0000)
* Made "V3D_BGPIC_EXPANDED" true per default, so when you add a new background image, you don't have to expand the UI to select the image.

source/blender/editors/space_view3d/view3d_edit.c

index 99f1155..ea8db17 100644 (file)
@@ -2946,6 +2946,7 @@ static BGpic *background_image_add(bContext *C)
        bgpic->iuser.fie_ima= 2;
        bgpic->iuser.ok= 1;
        bgpic->view= 0; /* 0 for all */
+       bgpic->flag |= V3D_BGPIC_EXPANDED;
        
        BLI_addtail(&v3d->bgpicbase, bgpic);