[Bf-blender-cvs] [784121d62ab] master: Fix T66327 2/2: Make instance real does not clear collection
Dalai Felinto
noreply at git.blender.org
Fri Jul 5 17:29:12 CEST 2019
Commit: 784121d62abfa474e8cc5adbf52c5650fe97148a
Author: Dalai Felinto
Date: Tue Jul 2 18:16:55 2019 -0300
Branches: master
https://developer.blender.org/rB784121d62abfa474e8cc5adbf52c5650fe97148a
Fix T66327 2/2: Make instance real does not clear collection
===================================================================
M source/blender/editors/object/object_add.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list