http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-unified-collections Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-unified-collections Branch fi Tue, 24 Nov 20 15:33:40 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[9c5682a]: Cleanup: move unneeded struct out of DNA.]]> http://www.miikahweb.com/en/blender/git-logs/commit/9c5682af879021ed530dca0cfd6126f3031cc762 9c5682a
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Cleanup: move unneeded struct out of DNA.

The real reason is that there is a conflict between Carbon header defining
a "Collection" struct, and this works around it.

----------------------------------------
4 Paths Changed]]>
Thu, 17 May 2018 13:05:17 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/9c5682af879021ed530dca0cfd6126f3031cc762Brecht Van Lommel
<![CDATA[[d39fdda]: Merge branch 'blender2.8' into temp-unified-collections]]> http://www.miikahweb.com/en/blender/git-logs/commit/d39fdda20b10028e183facaaebb76af438759762 d39fdda
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Merge branch 'blender2.8' into temp-unified-collections

----------------------------------------
0 Paths Changed]]>
Thu, 17 May 2018 18:09:03 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d39fdda20b10028e183facaaebb76af438759762Brecht Van Lommel
<![CDATA[[94feea2]: Fixes for collections unification:]]> http://www.miikahweb.com/en/blender/git-logs/commit/94feea22e6ecc1a45dfc578606cad454507f6ab2 94feea2
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Fixes for collections unification:

* Fix various crashes due to bug in latest versioning code
* Fix outliner restrict button column clipping

----------------------------------------
2 Paths Changed]]>
Wed, 16 May 2018 10:25:47 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/94feea22e6ecc1a45dfc578606cad454507f6ab2Brecht Van Lommel
<![CDATA[[4847490]: Remove collections module (caused UI to fail entirely)]]> http://www.miikahweb.com/en/blender/git-logs/commit/4847490ae000b6469342e24acb2d62cb0f673849 4847490
Branches : temp-unified-collections
Author : Campbell Barton (campbellbarton)
----------------------------------------
Remove collections module (caused UI to fail entirely)

----------------------------------------
1 Path Changed]]>
Wed, 16 May 2018 07:44:43 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4847490ae000b6469342e24acb2d62cb0f673849Campbell Barton
<![CDATA[[47bdc4d]: Cleanup: remove ignored const]]> http://www.miikahweb.com/en/blender/git-logs/commit/47bdc4dd2a7f498387d62b64089c3352e6ec8895 47bdc4d
Branches : temp-unified-collections
Author : Campbell Barton (campbellbarton)
----------------------------------------
Cleanup: remove ignored const

----------------------------------------
2 Paths Changed]]>
Wed, 16 May 2018 07:37:11 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/47bdc4dd2a7f498387d62b64089c3352e6ec8895Campbell Barton
<![CDATA[[95b75da]: Merge branch 'blender2.8' into temp-unified-collections]]> http://www.miikahweb.com/en/blender/git-logs/commit/95b75dac7875ca94a13c181ae93409ddc7db4f07 95b75da
Branches : temp-unified-collections
Author : Campbell Barton (campbellbarton)
----------------------------------------
Merge branch 'blender2.8' into temp-unified-collections

----------------------------------------
0 Paths Changed]]>
Wed, 16 May 2018 07:33:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/95b75dac7875ca94a13c181ae93409ddc7db4f07Campbell Barton
<![CDATA[[12fab53]: Collections: more work on unification with groups]]> http://www.miikahweb.com/en/blender/git-logs/commit/12fab532be2f9b8d8e82f0286022947a6ebab37a 12fab53
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Collections: more work on unification with groups

* Better backwards compatibility for Hero files saved in previous 2.8 files,
particularly preserving per view layer visibility.

* Various bugfixes.

----------------------------------------
9 Paths Changed]]>
Tue, 15 May 2018 17:32:45 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/12fab532be2f9b8d8e82f0286022947a6ebab37aBrecht Van Lommel
<![CDATA[[d1c679b]: Merge branch 'blender2.8' into temp-unified-collections]]> http://www.miikahweb.com/en/blender/git-logs/commit/d1c679bdadf9f02eb848e566e56278bfccca3396 d1c679b
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Merge branch 'blender2.8' into temp-unified-collections

----------------------------------------
0 Paths Changed]]>
Tue, 15 May 2018 17:30:45 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d1c679bdadf9f02eb848e566e56278bfccca3396Brecht Van Lommel
<![CDATA[[96d5905]: Merge branch 'blender2.8' into temp-unified-collections]]> http://www.miikahweb.com/en/blender/git-logs/commit/96d590565fdd5b64e7b579c9c150cbb2c9152650 96d5905
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Merge branch 'blender2.8' into temp-unified-collections

----------------------------------------
0 Paths Changed]]>
Mon, 14 May 2018 20:05:03 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/96d590565fdd5b64e7b579c9c150cbb2c9152650Brecht Van Lommel
<![CDATA[[d29a0b3]: Collections: more work on unification with groups]]> http://www.miikahweb.com/en/blender/git-logs/commit/d29a0b3f1eddfaaf879d6799f580fba430816bd6 d29a0b3
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Collections: more work on unification with groups

* Removes the special exceptions for group reference counting. Unlinked
collections now get a faker user. The weak point here is that unlinked
collections retain their objects even if they are removed from the scene.
For some cases that's good, for tag-like collections that's not ideal.
We can investigate how that make those cases work better later.

* Depsgraph view layer evaluation was fixed to work with copy-on-write, and
the code was simplified in the process.

* Various bugfixes related to static overrides, linking and outliner.

----------------------------------------
30 Paths Changed]]>
Mon, 14 May 2018 20:21:00 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d29a0b3f1eddfaaf879d6799f580fba430816bd6Brecht Van Lommel
<![CDATA[[e289dc2]: Collections and groups unification]]> http://www.miikahweb.com/en/blender/git-logs/commit/e289dc2a281370d47529d7f01f6845759ac656ff e289dc2
Branches : temp-unified-collections
Author : Brecht Van Lommel (brecht)
----------------------------------------
Collections and groups unification

NOTE that this branch still has known bugs and TODO comments, it's not
ready to merge or save files with. I'm publishing it now for review of
the overall design.

OVERVIEW

* In 2.7 terminology, all layers and groups are now collection datablocks.
* These collections are nestable, linkable, instanceable, overrideable, ..
which opens up new ways to set up scenes and link + override data.
* Viewport/render visibility and selectability are now a part of the collection
and shared across all view layers and linkable.
* View layers define which subset of the scene collection hierarchy is used
for each. For many workflows one view layer can be used, these are more of
an advanced feature now.

OUTLINER

* The related outliner categories were reorganized to be:
** Collections: display collections and their objects
** Objects: display all objects in the scene with parenting hierarchy
** View Layer: edit which collections are used in the view layer
* In the collections category we can switch between showing collections in
the scene, unlinked collections not linked in any scene, and all in the file.
* The outliner right click menus for collections and objects were reorganized.

GROUP OPERATORS

* The G-key group operators in the 3D viewport were left mostly as is, they
need to be modified still to fit better.
* Same for the groups panel in the object properties, this needs to be updated
still.

LINKING AND OVERRIDES

* Collections can now be linked into the scene without creating an instance,
with the link/append operator or from the collections view in the outliner.
* Collections can get static overrides with the right click menu in the outliner,
but this is rather tedious and not clearly communicated at the moment.
* We still need to improve the make override operator to turn collection instances
into collections with overrides directly in the scene.

PERFORMANCE

* I tried to make performance not worse than before and improve it in some
cases. There are still quite some quadratic time operations in object
add / delete which would require much deeper changes to fix.
* Collections keep a list of their parent collections for faster incremental
updates in syncing and caching.
* View layer bases are now in a object -> base hash to avoid quadratic time
lookups internally and in API functions like visible_get().

TRICKY IMPLEMENTATION BITS

* I didn't yet rename all files to preserve git history a bit better, probably
this is best done as a second commit after merging.
* Renaming collections to groups involved some DNA/RNA trickery to preserve
backwards compatibility, in the DNA the struct is still "Group".

* Version patching of 2.7 skips all the 2.8 collection patching and immediately
convertions to the new data structures.
* Version patching tries to keep 2.8 files works more or less, but some data is
lost. Keeping it all would be quite complicated. This needs more testing,
especially on Hero files.

* Collections are not reference counted just like groups weren't, they must be
explicitly deleted by the user.
* Object ownership is similar to what it was before, in that collection used
in a scene increment the object user counts but collections not used in any
scene do not.
* This involves some tagging each collection as being in a scene or not and
keeping that synchronized on changes.

* View layers each have a tree of layer collections which mirror the scene
collection tree (including linked collections). This require relatively
complicated synchronization as collections can change in linked files.

----------------------------------------
137 Paths Changed]]>
Fri, 11 May 2018 15:01:20 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/e289dc2a281370d47529d7f01f6845759ac656ffBrecht Van Lommel