[#20875] Rendering resolution in curve properties panel is not default 0 and cannot be set to 0.
Previously forgot about the magic: 0 res = display res behaviour.
This commit is contained in:
@@ -820,14 +820,14 @@ 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_ui_range(prop, 1, 1024, 1, 0);
|
||||
RNA_def_property_range(prop, 1, INT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0, 1024, 1, 0);
|
||||
RNA_def_property_range(prop, 0, INT_MAX);
|
||||
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, 1024, 1, 0);
|
||||
RNA_def_property_range(prop, 1, INT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0, 1024, 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.");
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user