Fix T41206: Render Border - Operator Panel - Only Camera - Broken?

This is rather internal use only, no need to expose this option to
the redo panel.
This commit is contained in:
Sergey Sharybin 2014-07-28 17:18:08 +06:00
parent d49b86d0f9
commit 1a9252d97e
Notes: blender-bot 2023-02-14 10:17:45 +01:00
Referenced by issue #41206, Render Border - Operator Panel - Only Camera - Broken?
1 changed files with 4 additions and 1 deletions

View File

@ -3243,6 +3243,8 @@ static int render_border_exec(bContext *C, wmOperator *op)
void VIEW3D_OT_render_border(wmOperatorType *ot)
{
PropertyRNA *prop;
/* identifiers */
ot->name = "Set Render Border";
ot->description = "Set the boundaries of the border render and enable border render";
@ -3262,7 +3264,8 @@ void VIEW3D_OT_render_border(wmOperatorType *ot)
/* rna */
WM_operator_properties_border(ot);
RNA_def_boolean(ot->srna, "camera_only", 0, "Camera Only", "Set render border for camera view and final render only");
prop = RNA_def_boolean(ot->srna, "camera_only", 0, "Camera Only", "Set render border for camera view and final render only");
RNA_def_property_flag(prop, PROP_HIDDEN);
}
/* ********************* Clear render border operator ****************** */