diff options
author | Joshua Leung <aligorith@gmail.com> | 2017-10-28 16:09:57 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2017-10-28 16:09:57 +0300 |
commit | 1e07f366e63833c363ffac8d23dcc734f2f82630 (patch) | |
tree | 49fe1cc91929f555a4d66ab2b11d472a8b8412f2 /source/blender/editors/render | |
parent | fdae9e1e03e1fabf9e88a81a9b9bbee23bc1f456 (diff) |
Fix T53185: After rendering an animation (Ctrl-F12), pressing F12 no longer renders single frames only
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_internal.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/render/render_internal.c b/source/blender/editors/render/render_internal.c index d8b2b2ce07f..d0da35aeb9d 100644 --- a/source/blender/editors/render/render_internal.c +++ b/source/blender/editors/render/render_internal.c @@ -1015,9 +1015,11 @@ void RENDER_OT_render(wmOperatorType *ot) /*ot->poll = ED_operator_screenactive;*/ /* this isn't needed, causes failer in background mode */ - RNA_def_boolean(ot->srna, "animation", 0, "Animation", "Render files from the animation range of this scene"); + prop = RNA_def_boolean(ot->srna, "animation", 0, "Animation", "Render files from the animation range of this scene"); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); RNA_def_boolean(ot->srna, "write_still", 0, "Write Image", "Save rendered the image to the output path (used only when animation is disabled)"); - RNA_def_boolean(ot->srna, "use_viewport", 0, "Use 3D Viewport", "When inside a 3D viewport, use layers and camera of the viewport"); + prop = RNA_def_boolean(ot->srna, "use_viewport", 0, "Use 3D Viewport", "When inside a 3D viewport, use layers and camera of the viewport"); + RNA_def_property_flag(prop, PROP_SKIP_SAVE); prop = RNA_def_string(ot->srna, "layer", NULL, RE_MAXNAME, "Render Layer", "Single render layer to re-render (used only when animation is disabled)"); RNA_def_property_flag(prop, PROP_SKIP_SAVE); prop = RNA_def_string(ot->srna, "scene", NULL, MAX_ID_NAME - 2, "Scene", "Scene to render, current scene if not specified"); |