diff options
author | Hans Goudey <h.goudey@me.com> | 2022-03-08 22:28:22 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-03-08 22:28:22 +0300 |
commit | d09695b4dd0eca917004177d30df9e09d9f8732d (patch) | |
tree | b1a15aa2934ca8398644d7d6896247d565c7fb47 /source/blender/depsgraph/intern/eval | |
parent | 90c3147e05b31000ad6ca2f9db1d1b0907c7acd6 (diff) |
Cleanup: Clang tidy
Diffstat (limited to 'source/blender/depsgraph/intern/eval')
-rw-r--r-- | source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc | 2 |
1 files changed, 1 insertions, 1 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 b1635ce6e09..19022d534b2 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 @@ -739,7 +739,7 @@ void update_id_after_copy(const Depsgraph *depsgraph, case ID_GD: { bGPdata *gpd_cow = (bGPdata *)id_cow; bGPDlayer *gpl = (bGPDlayer *)(gpd_cow->layers.first); - if (gpl != NULL && gpl->runtime.gpl_orig == NULL) { + if (gpl != nullptr && gpl->runtime.gpl_orig == nullptr) { BKE_gpencil_data_update_orig_pointers((bGPdata *)id_orig, gpd_cow); } break; |