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:
authorCampbell Barton <ideasman42@gmail.com>2010-01-21 22:43:27 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-21 22:43:27 +0300
commit8f3f1da08065f725097f23e758ca21634bb03d7a (patch)
tree0893c59c0b31421a684b187c155fd783c3ea50ee /source/blender/makesrna/intern/rna_timeline.c
parent8c0dff6bc3a64d84f14d68f5af6f73fa27338ce5 (diff)
- temp marker rename in menu (using python or the outliner isnt fun)
- marker selected property - rigify error formatting error
Diffstat (limited to 'source/blender/makesrna/intern/rna_timeline.c')
-rw-r--r--source/blender/makesrna/intern/rna_timeline.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_timeline.c b/source/blender/makesrna/intern/rna_timeline.c
index 26021687f0d..bccc4f6c3f3 100644
--- a/source/blender/makesrna/intern/rna_timeline.c
+++ b/source/blender/makesrna/intern/rna_timeline.c
@@ -31,6 +31,8 @@
#include "DNA_scene_types.h"
+#include "WM_types.h"
+
#ifdef RNA_RUNTIME
#else
@@ -48,9 +50,16 @@ static void rna_def_timeline_marker(BlenderRNA *brna)
prop= RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
RNA_def_property_ui_text(prop, "Name", "");
RNA_def_struct_name_property(srna, prop);
+ RNA_def_property_update(prop, NC_ANIMATION, NULL);
prop= RNA_def_property(srna, "frame", PROP_INT, PROP_TIME);
RNA_def_property_ui_text(prop, "Frame", "The frame on which the timeline marker appears.");
+ RNA_def_property_update(prop, NC_ANIMATION, NULL);
+
+ prop= RNA_def_property(srna, "selected", PROP_BOOLEAN, PROP_NONE);
+ RNA_def_property_boolean_sdna(prop, NULL, "flag", 1 /*SELECT*/);
+ RNA_def_property_ui_text(prop, "Selected", "Marker selection state.");
+ RNA_def_property_update(prop, NC_ANIMATION, NULL);
#ifdef DURIAN_CAMERA_SWITCH
prop= RNA_def_property(srna, "camera", PROP_POINTER, PROP_NONE);