Cleanup: use static declarations
This commit is contained in:
parent
d9918e3e53
commit
f43c9499bf
|
@ -72,7 +72,7 @@ static void preview_plane_cursor_visible_set(wmGizmoGroup *gzgroup, bool do_draw
|
|||
* In this case we can't usefully project the mouse cursor onto the plane,
|
||||
* so use a fall-back plane instead.
|
||||
*/
|
||||
const float eps_view_align = 1e-2f;
|
||||
static const float eps_view_align = 1e-2f;
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Local Types
|
||||
|
|
|
@ -529,7 +529,7 @@ const EnumPropertyItem rna_enum_bake_pass_filter_type_items[] = {
|
|||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
const EnumPropertyItem rna_enum_view_layer_aov_type_items[] = {
|
||||
static const EnumPropertyItem rna_enum_view_layer_aov_type_items[] = {
|
||||
{AOV_TYPE_COLOR, "COLOR", 0, "Color", ""},
|
||||
{AOV_TYPE_VALUE, "VALUE", 0, "Value", ""},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
|
|
Loading…
Reference in New Issue