Blender Git Loki

Kaikki Blender Git kommitit.

Page: 997 / 8462

January 15, 2021, 17:50 (GMT)
Fix (unreported) copying liboverride of mesh breaks overrides of shape keys.

Our beloved shapekeys are 'virtual' overrides, they need special
snowflake treatment here as well.

They do not have any override data, from override perspective they are
considered as mere sub-data from their owning ID (mesh, lattice, etc.).
Therefore, we should not copy override data from them, but instead
properly flag those new IDs as `LIB_EMBEDDED_DATA_LIB_OVERRIDE`.

Found while investigating T84373.
Revision 3459f75 by Hans Goudey (master)
January 15, 2021, 17:04 (GMT)
Merge branch 'blender-v2.92-release'
Revision 0b0e452 by Hans Goudey (master)
January 15, 2021, 17:04 (GMT)
Geometry Nodes: Use a default value in the point scale node

This commit adds the ability to provide a default value to
`attribute_try_get_for_output` and uses it for the `Point Scale` node,
which is important because the node uses multiplication.

The idea is to keep "name-specific" functionality in nodes rather than in
the attribute API, otherwise the complexity will be hard to keep track of.
So this fix doesn't apply to the Attribute Vector Math node, but hopfully
that is okay since that's now a lower level node for this purpose anyway.

Differential Revision: https://developer.blender.org/D10115
January 15, 2021, 17:00 (GMT)
GPencil: Check if using inverted mode to calculate 2D bound box

Revision 237e27e by Hans Goudey (master)
January 15, 2021, 16:48 (GMT)
Cleanup: Add const in various places in node code

Also includes some various other minor cleanups, like using bool
instead of int in a couple places.
January 15, 2021, 16:46 (GMT)
EEVEE: Depth Of Field: Improvement part 1

Add new gather algorithm.

This involve multiple passes which are well described in each shader.

Shaders have been split into multiple file for clarity sake.
January 15, 2021, 16:42 (GMT)
Tracking: Fix transform cancel for plane tracks

Use exact marker accessor. Harmless due to the current way the
transform system is used by tracking. But for the future development
proper accessor needs to be used.
January 15, 2021, 16:29 (GMT)
Fix T84745: build error with TBB 2021

task_group::is_canceling() was removed.
January 15, 2021, 15:35 (GMT)
RNA: support range-based for loops in C++ api

Cycles has a lot of code like this:
```lang=c++
BL::Object::modifiers_iterator b_mod;
for (b_ob->modifiers.begin(b_mod); b_mod != b_ob->modifiers.end(); ++b_mod) {
```

Range-based for loops allow us to simplify this to:
```lang=c++
for (BL::Modifier &b_mod : b_ob->modifiers) {
```

In order to support this, a collection (such as `b_ob->modifiers`) must have
a `begin()` and `end()` method, that take no parameters and return an iterator.
The `end` method already exists, but the `begin` method takes the iterator as
argument currently.

This patch adds a new `begin` method that returns the iterator. The old `begin`
method is still available to avoid breaking existing code.

My assumption is that the old `begin` method took the iterator as parameter so
that the iterator is not copied or moved, i.e. its memory address is stable and
the destructor is only called once. I'm not sure if both of these requirements
are really necessary to ensure that the iterators work correctly. To be on the
safe side, I deleted the copy/move constructors/assignment operators.

Since C++17 there is "guaranteed copy elision" which basically allows us to
return a non-copyable and non-movable type from a function. To make that work,
I had to add a new constructor to `CollectionIterator` that calls `begin` on itself.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D10120
January 15, 2021, 14:41 (GMT)
Fix Cycles build error with OSL 1.12

Differential Revision: https://developer.blender.org/D10118
January 15, 2021, 14:28 (GMT)
Merge branch 'blender-v2.92-release'
January 15, 2021, 14:24 (GMT)
Fix T84673: Skin resize operator always using object origin as pivot

The TransData converted to work in Skin Resize had no defined center.

Caused by rB54ee4109143b
Revision cab6d5e by Hans Goudey (master)
January 15, 2021, 14:19 (GMT)
Merge branch 'blender-v2.92-release'
Revision 6c840a2 by Hans Goudey (master)
January 15, 2021, 14:18 (GMT)
Fix "Make Instances Real" to work with nodes modifier instances

This commit changes the check at the beginning of the
"Make Instances Real" operator to account for the instances
created by nodes modifiers in the modifier stack.

Differential Revision: https://developer.blender.org/D10059
January 15, 2021, 11:03 (GMT)
Added initial connector API

Adds a DefaultConnector and a KitsuConnector. These connectors can be
used to retrieve task_types and shots from an external system.

The default connector is used as the default configuration when a
configuration key isn't defined.
January 15, 2021, 11:00 (GMT)
Geometry Nodes: transfer corner and point attributes in Point Distribute node

If the mesh has any corner or point attributes (e.g. vertex weights or
uv maps), those attributes will now be available on the generated points
as well.

Other domains can be supported as well. I just did not implement those yet,
because we don't have a use case for them.

Differential Revision: https://developer.blender.org/D10114
January 15, 2021, 08:22 (GMT)
Loading production configuration

The configuration of the production is now loaded from the production itself.
January 15, 2021, 07:05 (GMT)
Added vscode to gitignore
January 15, 2021, 01:23 (GMT)
Cleanup: spelling
January 15, 2021, 01:17 (GMT)
Cleanup: use 'pragma once'
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021