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:
@@ -3243,6 +3243,8 @@ static int render_border_exec(bContext *C, wmOperator *op)
|
|||||||
|
|
||||||
void VIEW3D_OT_render_border(wmOperatorType *ot)
|
void VIEW3D_OT_render_border(wmOperatorType *ot)
|
||||||
{
|
{
|
||||||
|
PropertyRNA *prop;
|
||||||
|
|
||||||
/* identifiers */
|
/* identifiers */
|
||||||
ot->name = "Set Render Border";
|
ot->name = "Set Render Border";
|
||||||
ot->description = "Set the boundaries of the border render and enable border render";
|
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 */
|
/* rna */
|
||||||
WM_operator_properties_border(ot);
|
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 ****************** */
|
/* ********************* Clear render border operator ****************** */
|
||||||
|
Reference in New Issue
Block a user