Fix error in new Hair data type file reading

This commit is contained in:
Brecht Van Lommel
2020-07-03 18:54:04 +02:00
parent d2db481dc7
commit 46fcc12e83
+1 -1
View File
@@ -8874,7 +8874,7 @@ static void direct_link_hair(BlendDataReader *reader, Hair *hair)
BKE_hair_update_customdata_pointers(hair);
/* Materials */
BLO_read_pointer_array(reader, (void **)hair->mat);
BLO_read_pointer_array(reader, (void **)&hair->mat);
}
/** \} */