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:
authorThomas Dinges <blender@dingto.org>2009-05-18 22:20:29 +0400
committerThomas Dinges <blender@dingto.org>2009-05-18 22:20:29 +0400
commit4022380dc6a70b5123282e912743e568a92adde2 (patch)
treeced8d0d88e1f8426a5fa20b92cb12f39cfef2374 /source/blender/makesrna/intern/rna_camera.c
parent0cd511eee8039f9c0f59004329cff911693ac761 (diff)
2.5 UI:
* Added new Buttons Tab "Bone" for Armature objects. * Validation of buttons selection, when object selection is changed. * added missing notifier for camera type and small layout change to the panel. * more shading color changes for menu and checkbox.
Diffstat (limited to 'source/blender/makesrna/intern/rna_camera.c')
-rw-r--r--source/blender/makesrna/intern/rna_camera.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_camera.c b/source/blender/makesrna/intern/rna_camera.c
index c884bad3353..3b1bb3b0785 100644
--- a/source/blender/makesrna/intern/rna_camera.c
+++ b/source/blender/makesrna/intern/rna_camera.c
@@ -57,7 +57,8 @@ void RNA_def_camera(BlenderRNA *brna)
prop= RNA_def_property(srna, "type", PROP_ENUM, PROP_NONE);
RNA_def_property_enum_items(prop, prop_type_items);
RNA_def_property_ui_text(prop, "Type", "Camera types.");
-
+ RNA_def_property_update(prop, NC_OBJECT|ND_DRAW, NULL);
+
/* Number values */
prop= RNA_def_property(srna, "passepartout_alpha", PROP_FLOAT, PROP_NONE);