Commit Graph

2 Commits

Author SHA1 Message Date
Campbell Barton
646f8bdb48 Cleanup: pep8 2018-07-03 07:12:24 +02:00
Dalai Felinto
25074be697 Fix collection syncing when creating new collections from the outliner
We were not passing a scene collection parent to the BKE_collection_add
function, which in turn made syncing not work.

Right now we:
* Explicitly pass the master collection in this case
* Fallback to the master collection in other cases

With unittest.
2018-02-09 09:05:27 -02:00