Cleanup: fix warning

Pull Request: https://projects.blender.org/blender/blender/pulls/116496
This commit is contained in:
Iliya Katueshenock
2023-12-23 19:15:36 +01:00
committed by Jacques Lucke
parent ad7a5abb2d
commit bd7c217f17

View File

@@ -1714,7 +1714,8 @@ static void rna_def_modifier_panel_open_prop(StructRNA *srna, const char *identi
PropertyRNA *prop;
prop = RNA_def_property(srna, identifier, PROP_BOOLEAN, PROP_NONE);
RNA_def_property_flag(prop, PROP_NO_DEG_UPDATE);
RNA_def_property_boolean_sdna(prop, nullptr, "modifier.layout_panel_open_flag", (1 << id));
RNA_def_property_boolean_sdna(
prop, nullptr, "modifier.layout_panel_open_flag", (int64_t(1) << id));
RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, nullptr);
}