Blender Git Commits

Blender Git "master" branch commits.

Page: 462 / 5574

December 11, 2020, 11:00 (GMT)
Geometry Nodes: add Attribute Mix node

This node can be used to mix two attributes in various ways.
The blend modes are the same as in the MixRGB shader node.

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

Ref T82374.
December 11, 2020, 10:48 (GMT)
Cleanup: remove some forward declared enums

Forward declaring enums are not allowed in C++.

Differential Revision: https://developer.blender.org/D9811
December 11, 2020, 10:05 (GMT)
Fix wrong operator return values in Outliner code.

Mistakes in rBac8b641b77e0 and rBf254f66587f2.

Spotted while inverstigating T83592.
December 11, 2020, 09:53 (GMT)
Cleanup: Fix typo in comment.
December 11, 2020, 09:53 (GMT)
GeometryNodes: Make properties exposed in modifier overridable.
December 11, 2020, 07:45 (GMT)
Correct the order of the last two arguments in `eevee_cryptomatte_shading_group_create`

When compiling on Windows, the following warnings occur:
```[3468/4560] Building C object sourceblenderdrawCMakeFilesbf_draw.direngineseeveeeevee_cryptomatte.c.obj
C:blender-gitblendersourceblenderdrawengineseeveeeevee_cryptomatte.c(306): warning C4047: 'function': 'bool' differs in levels of indirection from 'void *'
C:blender-gitblendersourceblenderdrawengineseeveeeevee_cryptomatte.c(306): warning C4024: 'eevee_cryptomatte_shading_group_create': different types for formal and actual parameter 5```

As @Severin pointed out [here](https://developer.blender.org/rB76a0b322e4d3244e59a154c8255b84a4fbc33117#288960), this is due to the last two arguments being flipped. This diff corrects the order.

Reviewed By: Severin, fclem

Differential Revision: https://developer.blender.org/D9809
December 11, 2020, 04:32 (GMT)
Cleanup: spelling, expand on FCurve.rna_path docstring
December 11, 2020, 04:32 (GMT)
Cleanup: trailing space
December 11, 2020, 04:32 (GMT)
Cleanup: sort cmake file lists
December 11, 2020, 04:32 (GMT)
Workaround T83651: Crash dragging multiple buttons in the clip editor

Avoid the crash, dragging multiple buttons still needs fixing.
December 11, 2020, 02:22 (GMT)
UI: Use 'and' Instead of '&' in Descriptions

Use 'and' instead of ampersand in descriptions and comments.

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

Reviewed by Aaron Carlisle
December 10, 2020, 21:48 (GMT)
Fix T83640: No immediate updates when changing the settings of a just-
duplicated particle system

When particle settings are duplicated along with the particle system,
this means a change in relations, was missing
'DEG_relations_tag_update'.

Maniphest Tasks: T83640

Differential Revision: https://developer.blender.org/D9823
Revision a7fcca1 by Hans Goudey
December 10, 2020, 17:07 (GMT)
UI: Use words instead of symbols for float comparison items

Though they are nice and concise, users should not be expected to know
the meaning of symbols like `!=`.
Revision 8bdd996 by Hans Goudey
December 10, 2020, 16:50 (GMT)
Geometry Nodes: Add helper function to check if attribute exists
December 10, 2020, 15:15 (GMT)
Nodes: fix incorrectly parameter name and type

The parameter type was incorrectly changed in rB6be56c13e96048cbc494ba5473a8deaf2cf5a6f8 by me.
This can be any id and does not have to be a node tree.
December 10, 2020, 14:15 (GMT)
Fix T83630 Exact Boolean assert failure in Debug build.

I thought I had reasoned that the add_patch would only happen
when the patch was not already in a cell, but I missed reasoning
about merged cells. So switched to a set 'add' instead of 'add_new'.
Revision 348bd31 by Hans Goudey
December 10, 2020, 13:58 (GMT)
Geometry Nodes: Attribute Fill Node

This commit adds a node that fills every element of an attribute
with the same value. Currently it supports float, vector, and color
attributes. An immediate use case is for "billboard" scattering.

Currently people are using the same input to a Random Attribute node's
min and max input to fill every element of a vector with the same value,
which is an unintuitive way to accomplish the same thing.

Differential Revision: https://developer.blender.org/D9790
December 10, 2020, 13:35 (GMT)
Geometry Nodes: rename modifyPointCloud to modifyGeometrySet

Since the initial merge of the geometry nodes project, the modifyPointCloud
function already was already modifying a geometry set. The function wasn't
renamed back then, because then the merge would have touched many
more files.

Ref T83357.
December 10, 2020, 12:20 (GMT)
Fix T83361: UV Editor does not draw pinned selected UVs as pinned

Caused by rB4212b6528af.

outlineColor is computed by the vertex shader, so not a uniform.
So outlineColor was undefined.

note: it was still possible to run into the situation that a selected UV
is drawn ontop of a selected pinned UV [you had to disable sticky
selection for this], now also make sure selected-pinned are drawn
topmost, then selected, then unselected UVs.

Maniphest Tasks: T83361

Differential Revision: https://developer.blender.org/D9786
December 10, 2020, 09:23 (GMT)
Geometry Nodes: fix recursive instance transforms

Previously, the transformation of recursive instances did not work as
on would expect. Second-level instances would detach from first-level
instances when the object was moved.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021