Make struct initialization happy for CLang
This commit is contained in:
parent
c72770d1cb
commit
89264d8c40
|
@ -812,7 +812,7 @@ ID *deg_update_copy_on_write_datablock(const Depsgraph *depsgraph,
|
|||
ListBase *gpumaterial_ptr = NULL;
|
||||
DrawDataList drawdata_backup;
|
||||
DrawDataList *drawdata_ptr = NULL;
|
||||
ObjectRuntimeBackup object_runtime_backup = {NULL};
|
||||
ObjectRuntimeBackup object_runtime_backup = {{NULL}};
|
||||
if (check_datablock_expanded(id_cow)) {
|
||||
switch (id_type) {
|
||||
case ID_MA:
|
||||
|
|
|
@ -208,7 +208,7 @@ void ED_pose_recalculate_paths(bContext *C, Scene *scene, Object *ob, bool curre
|
|||
/* Override depsgraph with a filtered, simpler copy */
|
||||
if (!current_frame_only && G.debug_value != -1) {
|
||||
TIMEIT_START(filter_pose_depsgraph);
|
||||
DEG_FilterQuery query = {0};
|
||||
DEG_FilterQuery query = {{0}};
|
||||
|
||||
DEG_FilterTarget *dft_ob = MEM_callocN(sizeof(DEG_FilterTarget), "DEG_FilterTarget");
|
||||
dft_ob->id = &ob->id;
|
||||
|
|
Loading…
Reference in New Issue