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:
authorMatt Ebb <matt@mke3.net>2009-07-14 08:13:04 +0400
committerMatt Ebb <matt@mke3.net>2009-07-14 08:13:04 +0400
commit0bfc98706ef93f90bd74b195b98c36c7dcea94dd (patch)
treebbce3b19b44032d0f189d10a346f87e2d74dbab4 /source/blender/makesrna/intern/rna_space.c
parent8f98c5e87352c3622176913f80a4b6f5c72cea32 (diff)
RNA/button tweaks:
* Texture -> renamed 'no rgb' to 'rgb to intensity' (btw it's not just for image textures ) * Render -> stamp closed by default - not taking effect, because saved in .B.blend. How do we fix this? * Material -> removed 'Buffer Bias' dependency - it's for receiving shadows, not casting them * Material -> Ray Shadow bias renamed 'Auto Ray bias' - switches between an automatically calculated value vs the specified value
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r--source/blender/makesrna/intern/rna_space.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 3f9b87a7f37..697548de817 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -544,6 +544,10 @@ static void rna_def_space_3dview(BlenderRNA *brna)
RNA_def_property_boolean_sdna(prop, NULL, "flag2", V3D_SOLID_TEX);
RNA_def_property_ui_text(prop, "Textured Solid", "Display face-assigned textures in solid view");
+ prop= RNA_def_property(srna, "display_background_image", PROP_BOOLEAN, PROP_NONE);
+ RNA_def_property_boolean_sdna(prop, NULL, "flag", V3D_DISPBGPIC);
+ RNA_def_property_ui_text(prop, "Display Background Image", "Display a reference image behind objects in the 3D View");
+
prop= RNA_def_property(srna, "pivot_point", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_sdna(prop, NULL, "around");
RNA_def_property_enum_items(prop, pivot_items);