Blender Git Loki

Git Commits -> Revision 984cd29

Revision 984cd29 by Dalai Felinto (master)
May 26, 2017, 15:44 (GMT)
Implement support for Append objects in Blender 2.8

Note for users
==============

The active_layer option used for the filebrowser operators is now called
active_collection.

If there is no collections in the scenelayer or if this option is not selected
we automatically create a new collection for the new objects.

This is the same behaviour of trying to add a new object when there is
no collection.

Note for developers
===================

For those cases I moved the object user count handling from readfile to
the scene collection system. It's working fine for those, but we still
need to re-visit this for Add objects, and Duplicate - In those cases
the usercount is 2 when it should be 1.

Reviewers: mont29, sergey

Differential Revision: https://developer.blender.org/D2686

Commit Details:

Full Hash: 984cd29fdab0f3da4ad50d4df193b1c6710c904f
Parent Commit: 65a042b
Lines Changed: +92, -67

6 Modified Paths:

/source/blender/blenkernel/intern/blender_copybuffer.c (+2, -2) (Diff)
/source/blender/blenloader/BLO_readfile.h (+3, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+63, -51) (Diff)
/source/blender/editors/space_file/filesel.c (+1, -1) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_files_link.c (+21, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021