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-04-18 18:22:52 +0300
committerHans Goudey <h.goudey@me.com>2022-04-18 18:22:52 +0300
commited3cf06075fe3af9d82a7c00bbba02a3d85ec547 (patch)
tree45b68a1587fae298840aae7fe93c60bd48025f10
parentb45e566097c395f63db84bb76c935ae0850da475 (diff)
-rw-r--r--source/blender/editors/object/object_modifier.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/object/object_modifier.cc b/source/blender/editors/object/object_modifier.cc
index 89bca8d76cf..c31219455b4 100644
--- a/source/blender/editors/object/object_modifier.cc
+++ b/source/blender/editors/object/object_modifier.cc
@@ -3316,14 +3316,14 @@ static int geometry_node_tree_copy_assign_exec(bContext *C, wmOperator *op)
NodesModifierData *nmd = (NodesModifierData *)md;
bNodeTree *tree = nmd->node_group;
- if (tree == NULL) {
+ if (tree == nullptr) {
return OPERATOR_CANCELLED;
}
bNodeTree *new_tree = (bNodeTree *)BKE_id_copy_ex(
- bmain, &tree->id, NULL, LIB_ID_COPY_ACTIONS | LIB_ID_COPY_DEFAULT);
+ bmain, &tree->id, nullptr, LIB_ID_COPY_ACTIONS | LIB_ID_COPY_DEFAULT);
- if (new_tree == NULL) {
+ if (new_tree == nullptr) {
return OPERATOR_CANCELLED;
}