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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-13 21:42:03 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2012-04-13 21:42:03 +0400
commitb219b5294b15cff95030a15b929d3c7bbf5d35c7 (patch)
treedd91b7247797439f77b249c2229f67c832a0325d /source/blender/makesrna
parent440f4492656ec26c90017976553909b48e93c3fa (diff)
Fix #30376: cycles ignores camera override from sequencer.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r--source/blender/makesrna/intern/rna_render.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c
index 22e9bbf6dda..6e9d94bd7fb 100644
--- a/source/blender/makesrna/intern/rna_render.c
+++ b/source/blender/makesrna/intern/rna_render.c
@@ -356,6 +356,10 @@ static void rna_def_render_engine(BlenderRNA *brna)
prop = RNA_def_property(srna, "is_preview", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "flag", RE_ENGINE_PREVIEW);
+ prop= RNA_def_property(srna, "camera_override", PROP_POINTER, PROP_NONE);
+ RNA_def_property_pointer_sdna(prop, NULL, "camera_override");
+ RNA_def_property_struct_type(prop, "Object");
+
/* registration */
prop = RNA_def_property(srna, "bl_idname", PROP_STRING, PROP_NONE);