UI: add space before px unit in Eevee properties for consistency
Differential Revision: https://developer.blender.org/D7072
This commit is contained in:
@@ -6702,29 +6702,29 @@ static void rna_def_scene_eevee(BlenderRNA *brna)
|
|||||||
PropertyRNA *prop;
|
PropertyRNA *prop;
|
||||||
|
|
||||||
static const EnumPropertyItem eevee_shadow_size_items[] = {
|
static const EnumPropertyItem eevee_shadow_size_items[] = {
|
||||||
{64, "64", 0, "64px", ""},
|
{64, "64", 0, "64 px", ""},
|
||||||
{128, "128", 0, "128px", ""},
|
{128, "128", 0, "128 px", ""},
|
||||||
{256, "256", 0, "256px", ""},
|
{256, "256", 0, "256 px", ""},
|
||||||
{512, "512", 0, "512px", ""},
|
{512, "512", 0, "512 px", ""},
|
||||||
{1024, "1024", 0, "1024px", ""},
|
{1024, "1024", 0, "1024 px", ""},
|
||||||
{2048, "2048", 0, "2048px", ""},
|
{2048, "2048", 0, "2048 px", ""},
|
||||||
{4096, "4096", 0, "4096px", ""},
|
{4096, "4096", 0, "4096 px", ""},
|
||||||
{0, NULL, 0, NULL, NULL},
|
{0, NULL, 0, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const EnumPropertyItem eevee_gi_visibility_size_items[] = {
|
static const EnumPropertyItem eevee_gi_visibility_size_items[] = {
|
||||||
{8, "8", 0, "8px", ""},
|
{8, "8", 0, "8 px", ""},
|
||||||
{16, "16", 0, "16px", ""},
|
{16, "16", 0, "16 px", ""},
|
||||||
{32, "32", 0, "32px", ""},
|
{32, "32", 0, "32 px", ""},
|
||||||
{64, "64", 0, "64px", ""},
|
{64, "64", 0, "64 px", ""},
|
||||||
{0, NULL, 0, NULL, NULL},
|
{0, NULL, 0, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
static const EnumPropertyItem eevee_volumetric_tile_size_items[] = {
|
static const EnumPropertyItem eevee_volumetric_tile_size_items[] = {
|
||||||
{2, "2", 0, "2px", ""},
|
{2, "2", 0, "2 px", ""},
|
||||||
{4, "4", 0, "4px", ""},
|
{4, "4", 0, "4 px", ""},
|
||||||
{8, "8", 0, "8px", ""},
|
{8, "8", 0, "8 px", ""},
|
||||||
{16, "16", 0, "16px", ""},
|
{16, "16", 0, "16 px", ""},
|
||||||
{0, NULL, 0, NULL, NULL},
|
{0, NULL, 0, NULL, NULL},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user