forked from bartvdbraak/blender
Fix #21764: bezier curve render resolution slider min value 1
Render resolution set to 0 is correct in both of U and V cases (if render resolution is set to 0 values from resolution_* will be used while rendering)
This commit is contained in:
parent
66efe00d4d
commit
aa3428e6ab
@ -1016,12 +1016,12 @@ static void rna_def_curve(BlenderRNA *brna)
|
||||
prop= RNA_def_property(srna, "render_resolution_u", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resolu_ren");
|
||||
RNA_def_property_range(prop, 0, INT_MAX);
|
||||
RNA_def_property_ui_range(prop, 1, 64, 1, 0);
|
||||
RNA_def_property_ui_range(prop, 0, 64, 1, 0);
|
||||
RNA_def_property_ui_text(prop, "Render Resolution U", "Surface resolution in U direction used while rendering. Zero skips this property");
|
||||
|
||||
prop= RNA_def_property(srna, "render_resolution_v", PROP_INT, PROP_NONE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "resolv_ren");
|
||||
RNA_def_property_ui_range(prop, 1, 64, 1, 0);
|
||||
RNA_def_property_ui_range(prop, 0, 64, 1, 0);
|
||||
RNA_def_property_range(prop, 0, INT_MAX);
|
||||
RNA_def_property_ui_text(prop, "Render Resolution V", "Surface resolution in V direction used while rendering. Zero skips this property");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user