diff options
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/armature/pose_edit.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc index 5b2436279f0..5b52843c1fe 100644 --- a/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc +++ b/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc @@ -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: diff --git a/source/blender/editors/armature/pose_edit.c b/source/blender/editors/armature/pose_edit.c index 5e5988bd69b..136f17156e1 100644 --- a/source/blender/editors/armature/pose_edit.c +++ b/source/blender/editors/armature/pose_edit.c @@ -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; |