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:
authorDalai Felinto <dfelinto@gmail.com>2019-07-03 00:16:55 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-07-05 18:24:31 +0300
commit784121d62abfa474e8cc5adbf52c5650fe97148a (patch)
treec0675815f46da8d28c5a4bbac4990bccfae9f500
parent68c39e2b41174f20c2c5f478ca5876f3be8d4c24 (diff)
Fix T66327 2/2: Make instance real does not clear collection
-rw-r--r--source/blender/editors/object/object_add.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_add.c b/source/blender/editors/object/object_add.c
index a3e3196bb13..033bc57f502 100644
--- a/source/blender/editors/object/object_add.c
+++ b/source/blender/editors/object/object_add.c
@@ -1878,6 +1878,7 @@ static void make_object_duplilist_real(
DEG_id_tag_update(&ob->id, ID_RECALC_TRANSFORM);
}
}
+ base->object->instance_collection = NULL;
}
BLI_ghash_free(dupli_gh, NULL, NULL);