diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-29 13:28:04 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-04-29 23:11:15 +0300 |
commit | 7297b1881e0b16d6c20c6477df65c1971384c6a8 (patch) | |
tree | abb80bf12ecb0aceb0bf15550f776163b9af3789 | |
parent | 7a9f64e6657a231289f56b0a8c9949c8f7a23c59 (diff) |
Fix accidentally removed code in recent commit.
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 204d95b4569..1fb4e2d8b57 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -957,12 +957,10 @@ static void rna_RenderSettings_stereoViews_begin(CollectionPropertyIterator *ite rna_iterator_listbase_begin(iter, &rd->views, rna_RenderSettings_stereoViews_skip); } -#if 0 static char *rna_RenderSettings_path(PointerRNA *UNUSED(ptr)) { return BLI_sprintfN("render"); } -#endif static char *rna_BakeSettings_path(PointerRNA *UNUSED(ptr)) { @@ -4825,6 +4823,7 @@ static void rna_def_scene_render_data(BlenderRNA *brna) srna = RNA_def_struct(brna, "RenderSettings", NULL); RNA_def_struct_sdna(srna, "RenderData"); RNA_def_struct_nested(brna, srna, "Scene"); + RNA_def_struct_path_func(srna, "rna_RenderSettings_path"); RNA_def_struct_ui_text(srna, "Render Data", "Rendering settings for a Scene data-block"); /* Render Data */ |