Blender Git Commits

Blender Git "master" branch commits.

Page: 1936 / 5574

December 4, 2017, 05:07 (GMT)
Fix crash w/ template search & invalid property
December 2, 2017, 17:25 (GMT)
Fix MSVC compilation, there is no 'Designated initializers' in C++!

Looks like gcc is at the very least missing a warning here!
December 2, 2017, 16:25 (GMT)
BLI_ghash: Description of GHash, GSet

Also some re-indenting.
December 2, 2017, 11:31 (GMT)
Cleanup: minor change to API use
December 2, 2017, 11:31 (GMT)
Cleanup: indentation
December 2, 2017, 04:45 (GMT)
Fix Cycles standalone crash when saving output, after recent refactoring.
December 1, 2017, 20:25 (GMT)
Draw Maganer: Cleanup: Remove unnecessary lines of code in draw_cache_impl_metaball.c
December 1, 2017, 18:08 (GMT)
unittests: Update (fix) unittests after workspace API change

Tests were broken since e8c15e0ed15f8369d.

We now get view_layer from window, not workspace, since the same workspace can
have a different view_layer depending on the window scene.
December 1, 2017, 17:28 (GMT)
Fixup for workspace view_layer fix

We do not assume subversion bump until we actually change the subversion.

For example, a branch may have bumped its subversion to 3, yet still require
the new doversion code introduced on 108c4bd5026.
Revision 108c4bd by Julian Eisel
December 1, 2017, 17:14 (GMT)
Fix crash reading 2.8 files with workspace.view_layer set

Stupid error from e8c15e0ed15f8369d.

Also removed WorkSpace.view_layer usage and marked as deprecated.
December 1, 2017, 16:59 (GMT)
Depsgraph: Call editors update after everything was flushed

This way we can inform editors about all edits at once. Currently this is not
used, but in the next commits we will inform editors about what exactly has
changed.
December 1, 2017, 16:58 (GMT)
Cleanup: Proper silencing of unused vars( for now).
December 1, 2017, 16:42 (GMT)
Fix warnings in release builds.
December 1, 2017, 16:42 (GMT)
Cleanup: forgot to rename RNA prop flag to override_static...
December 1, 2017, 16:32 (GMT)
Depsgraph: Separate loop for ID node flags clear

This ends up in less number of memory writes, which should have positive effect
on performance.
December 1, 2017, 16:15 (GMT)
Fix update of non-scene owned layer collections

We are using NC_SCENE | ND_LAYER_CONTENT for the shader, however this does not work for groups
unless we manually handle the notifiers.

Otherwise the group id is passed, and the listener never gets the notification since a scene id
is expected, or no id at all.
December 1, 2017, 16:15 (GMT)
Groups and collection: editing group collections

Allow users to edit either the object group active collection or view layer one

We can't support users selecting the group collections from the outliner group
because that would be imply having an active group for the scene or workspace.

But the way it is now allows to see and edit the collection values after the
group is instanced.
December 1, 2017, 16:15 (GMT)
Groups and collection: create group from collection

You could still create groups as before, with Ctl + G. This will create a group
with a single visible collection.

However you can also create a group from an existing collection. Just go to
the menu you get in the outliner when clicking in a collection and pick
"Create Group".

Remember to instance the group afterwards, or link it into a new scene or file.

The group and the collection are not kept in sync afterwards. You need to manually
edit the group for further changes.
December 1, 2017, 16:15 (GMT)
Groups and collection: initial integration

Since we are ditching layers from Blender (2.8) we need a replacement to
control groups visibility. This commit introduces collections as the building
blocks for groups, allowing users to control visibility as well as overrides
for groups.

Features
========

* Groups now have collections
This way you can change the visibility of a collection inside a group, and add
overrides which are part of the group and are prioritized over other overrides.

* Outliner
Groups can inspect their collections, change visibility, and add/remove members.

To change an override of a group collection, you need to select an instance of
the group, and then you can choose "group" in the collection properties editor
to edit this group active collection instead of the view layer one.

* Dupli groups overrides
We can now have multiple instances of the same group with an original "override"
and different overrides depending on the collection the instanced object is part
of.

Technical
=========

* Layers
We use the same api for groups and scene as much as possible.

Reviewers: sergey (depsgraph), mont29 (read/write and user count)
Differential Revision: https://developer.blender.org/D2892
Revision e8c15e0 by Julian Eisel
December 1, 2017, 15:15 (GMT)
Workspaces: Store an active view-layer per scene

Instead of storing a single active view-layer in the workspace, one is
stored for each scene the workspace showed before.
With this, some things become possible:
* Multiple windows in the same workspace but showing different scenes.
* Toggling back and forth scene keeps same active view-layer for each scene.
* Activating workspace which didn't show current scene before, the current view-layer is kept.

A necessary evil for this is that accessing view-layer and object mode
from .py can't be done via workspace directly anymore. It has to be done
through the window, so RNA can use the correct scene.
So instead of `workspace.view_layer`, it's `window.view_layer` now (same
with mode) even though it's still workspace data.

Fixes T53432.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021