Fix build error on Windows introduced in 46be42f6b1

This commit is contained in:
Brecht Van Lommel 2023-03-09 13:48:14 +01:00
parent 7edb3ab5e0
commit 0239eee1c6
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ void BKE_callback_exec_id_depsgraph(struct Main *bmain,
void BKE_callback_exec_string(struct Main *bmain, eCbEvent evt, const char *str)
{
PointerRNA str_ptr;
PrimitiveStringRNA data = {};
PrimitiveStringRNA data = {NULL};
data.value = str;
RNA_pointer_create(NULL, &RNA_PrimitiveString, &data, &str_ptr);