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-18 17:40:06 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-18 17:40:06 +0300
commit9ae90efc8e87bf646e356f0f0d0e40b536798207 (patch)
treeb6488b0719f2798c9297c40968d931c218e3f46e /source/blender/makesrna/intern/rna_timeline.c
parentdc589a33ddbe5effed136750b37c18441d490f64 (diff)
- opengl render anim exec function so python can render opengl animations without and have it block until its done.
- timeline rna camera access. - new textblocks have tabs as spaces enabled by default since this is blenders default.
Diffstat (limited to 'source/blender/makesrna/intern/rna_timeline.c')
-rw-r--r--source/blender/makesrna/intern/rna_timeline.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_timeline.c b/source/blender/makesrna/intern/rna_timeline.c
index 5e20fca15f0..26021687f0d 100644
--- a/source/blender/makesrna/intern/rna_timeline.c
+++ b/source/blender/makesrna/intern/rna_timeline.c
@@ -51,6 +51,13 @@ static void rna_def_timeline_marker(BlenderRNA *brna)
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.");
+
+#ifdef DURIAN_CAMERA_SWITCH
+ prop= RNA_def_property(srna, "camera", PROP_POINTER, PROP_NONE);
+ RNA_def_property_struct_type(prop, "Object");
+ RNA_def_property_flag(prop, PROP_EDITABLE|PROP_ID_SELF_CHECK);
+ RNA_def_property_ui_text(prop, "Camera", "Camera this timeline sets to active.");
+#endif
}
void RNA_def_timeline_marker(BlenderRNA *brna)