Fix #35054: adjust tooltip for Render Border option in 3D view panel to say
it has an effect outside of the camera view.
This commit is contained in:
@@ -2392,6 +2392,7 @@ class VIEW3D_PT_view3d_properties(Panel):
|
|||||||
|
|
||||||
col = layout.column(align=True)
|
col = layout.column(align=True)
|
||||||
col.prop(view, "use_render_border")
|
col.prop(view, "use_render_border")
|
||||||
|
col.active = view.region_3d.view_perspective != 'CAMERA'
|
||||||
|
|
||||||
|
|
||||||
class VIEW3D_PT_view3d_cursor(Panel):
|
class VIEW3D_PT_view3d_cursor(Panel):
|
||||||
|
@@ -1657,7 +1657,7 @@ static void rna_def_space_view3d(BlenderRNA *brna)
|
|||||||
RNA_def_property_boolean_sdna(prop, NULL, "flag2", V3D_RENDER_BORDER);
|
RNA_def_property_boolean_sdna(prop, NULL, "flag2", V3D_RENDER_BORDER);
|
||||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||||
RNA_def_property_ui_text(prop, "Render Border",
|
RNA_def_property_ui_text(prop, "Render Border",
|
||||||
"Use a user-defined border region within the frame size for rendered viewport");
|
"Use a region within the frame size for rendered viewport (when not viewing through the camera)");
|
||||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "render_border_min_x", PROP_FLOAT, PROP_NONE);
|
prop = RNA_def_property(srna, "render_border_min_x", PROP_FLOAT, PROP_NONE);
|
||||||
|
Reference in New Issue
Block a user