diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-25 17:22:35 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-03-25 17:23:56 +0300 |
commit | 1638204ad407231795335cb7a3483beedd31cf46 (patch) | |
tree | 38340b17b66dafe758a679eb124fc2ebe152cf63 /source/blender/blenkernel/intern | |
parent | 0195aad6da223f0b343753ccc0aeb7c562a74bb4 (diff) |
Fix T62865: Make Single User after Objects to Scene must be done twice.
Selected status was not properly moved from new object to new created base.
This prevented next steps (making obdata, materials etc. local) to ever
happen.
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/layer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/layer.c b/source/blender/blenkernel/intern/layer.c index 9a6e570e03b..7fc1d9e14ae 100644 --- a/source/blender/blenkernel/intern/layer.c +++ b/source/blender/blenkernel/intern/layer.c @@ -35,6 +35,7 @@ #include "BKE_main.h" #include "BKE_node.h" #include "BKE_object.h" +#include "BKE_scene.h" #include "DNA_ID.h" #include "DNA_space_types.h" @@ -95,6 +96,7 @@ static Base *object_base_new(Object *ob) { Base *base = MEM_callocN(sizeof(Base), "Object Base"); base->object = ob; + BKE_scene_object_base_flag_sync_from_object(base); return base; } |