Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-02-13 22:15:53 +0300
committerHans Goudey <h.goudey@me.com>2022-02-13 22:15:53 +0300
commit7d5f6c330f1065f28d8e83eea41b151245b39bed (patch)
treee39c6c0a01463de2c0f9035869ab540701d675b4 /source/blender/depsgraph/intern
parent7413c2feede68c45f13fa37ebdcbf325d8f32c10 (diff)
Cleanup: Clang tidy
Use using instead of typedef, remove redundant string init, use "empty", address qualified auto, use nullptr.
Diffstat (limited to 'source/blender/depsgraph/intern')
-rw-r--r--source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_gpencil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_gpencil.cc b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_gpencil.cc
index 6986ef7d9ee..c5def69a70f 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_gpencil.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval_runtime_backup_gpencil.cc
@@ -35,7 +35,7 @@ void GPencilBackup::restore_to_gpencil(bGPdata *gpd)
}
/* Doing a copy-on-write copies the update cache pointer. Make sure to reset it
* to NULL as we should never use the update cache from eval data. */
- gpd->runtime.update_cache = NULL;
+ gpd->runtime.update_cache = nullptr;
/* Make sure to update the original runtime pointers in the eval data. */
BKE_gpencil_data_update_orig_pointers(gpd_orig, gpd);
}