Page MenuHome
Paste P1115

Masterwork From Distant Lands
ActivePublic

Authored by Dalai Felinto (dfelinto) on Sep 24 2019, 3:00 PM.
commit 45aea232f13d4b34a80dd1a95acd83d6bcd55377
Author: Dalai Felinto <dfelinto@gmail.com>
Date: Tue Sep 24 09:57:32 2019 -0300
Make new objects (from enabled collections or append) visible to local views
This fix T67162.
diff --git a/source/blender/blenkernel/intern/layer.c b/source/blender/blenkernel/intern/layer.c
index a05762ba75b..984e94c05c9 100644
--- a/source/blender/blenkernel/intern/layer.c
+++ b/source/blender/blenkernel/intern/layer.c
@@ -92,6 +92,7 @@ static Base *object_base_new(Object *ob)
{
Base *base = MEM_callocN(sizeof(Base), "Object Base");
base->object = ob;
+ base->local_view_bits = ~(0);
if (ob->base_flag & BASE_SELECTED) {
base->flag |= BASE_SELECTED;
}

Event Timeline

Dalai Felinto (dfelinto) changed the title of this paste from untitled to Masterwork From Distant Lands.