Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2011-11-30 01:05:18 +0400
committerDalai Felinto <dfelinto@gmail.com>2011-11-30 01:05:18 +0400
commit5763e6ce8518bf878aa9212b5196fd0503f466d2 (patch)
tree0b30ff5bf4879b5cc92471dd4aa046c039da5294 /source/blender/makesdna/DNA_view3d_types.h
parent8bff75697446a98d42a643aa8f65fa663d967765 (diff)
option to disable/enable individual background images
*** use-case: "I have 10 reference images that overlap each other and every time I want to see one, I need to change the transparency of all the others. therefore it would be nice to have a little button by each menu to allow enable/disabling individual background images" To avoid subversioning bump I created a define that is negative (DISABLED) and of course a rna that is a boolean_negative. Talked with Campbell and he actually prefers this way over do_version, so there it goes.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r--source/blender/makesdna/DNA_view3d_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h
index 93f4b209712..50136fdcc99 100644
--- a/source/blender/makesdna/DNA_view3d_types.h
+++ b/source/blender/makesdna/DNA_view3d_types.h
@@ -308,6 +308,7 @@ typedef struct View3D {
/* may want to use 1 for select ?*/
#define V3D_BGPIC_EXPANDED 2
#define V3D_BGPIC_CAMERACLIP 4
+#define V3D_BGPIC_DISABLED 8
/* BGPic->source */
/* may want to use 1 for select ?*/