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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-04-06 11:24:58 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-04-06 11:24:58 +0400
commit11efce450d5e8b3dd1ce5753a10db381f602e418 (patch)
tree2c34b89ca524440a43672907b3cccbebc4c9cb68 /source/blender/makesrna/intern/rna_space.c
parent56968bb580be5f311f41b833717fbe5be559abfb (diff)
Fixed incorrect RNA access when changing type of sequencer view
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r--source/blender/makesrna/intern/rna_space.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index 5d39537970b..c4ab3edc6ec 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -734,7 +734,7 @@ static int rna_SpaceGraphEditor_has_ghost_curves_get(PointerRNA *ptr)
static void rna_Sequencer_display_mode_update(bContext *C, PointerRNA *ptr)
{
- int view = RNA_int_get(ptr, "view_type");
+ int view = RNA_enum_get(ptr, "view_type");
ED_sequencer_update_view(C, view);
}