Blender Git Commits

Blender Git "master" branch commits.

Page: 1078 / 5574

August 22, 2019, 12:34 (GMT)
LibOverride: Enforce full override operations check on file save.

We try to avoid diffing too much things during edition, but when saving
a file we need to check all possible overridable IDs to ensure we have
all needed override operations...

Was pretty sure that was already in code, but apparently not (or it got
lost at some point...).
August 22, 2019, 12:33 (GMT)
LibOverride: Cleanup: tget rid of G.main usage when we can get it from context.
August 22, 2019, 12:33 (GMT)
LibOverride: Fix broken logic in code checking and adding new override ops.

When we wanted to force all overidable IDs to be checked, code would end
up checking the whole Main DB, instead of only overrideable ones.
Revision 08ab3cb by Omar Emara
August 22, 2019, 12:26 (GMT)
Shading: Add object color to Object Info node.

The object color property is added as an additional output in
the Object Info node.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5554
August 22, 2019, 12:10 (GMT)
Fix T68969: current value '0' matches no enum in 'ToolSettings', '(null)', 'snap_node_element'

I don't think a versioning solution is necessary in this case.
But it can still be implemented.
August 22, 2019, 12:10 (GMT)
Revert "Fix grid snap value in recent snapping updates"

This reverts commit 48a7f979a5cf2669656d25767c4173fb65bfb67d.

Another solution to come.
Revision c6f8ea7 by Omar Emara
August 22, 2019, 11:51 (GMT)
Fix T69044: OpenCL fail due to bad fract function.

The fract function in OpenCL does more than just return the fraction.
It also writes the floor to the second argument. Which wasn't put
in consideration.

Instead, we use a simple `a - floor(a)` like the Math node.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5553
August 22, 2019, 11:07 (GMT)
Transform: Snap Perpendicular: Avoid snapping to snapTarget
August 22, 2019, 11:00 (GMT)
Transform: Snap Perpendicular: Use `snapTarget` instead of `center_global`
August 22, 2019, 10:21 (GMT)
LibOverride: Cleanup: rename parameters in RNA apply code.

We cannot use local/reference here, that is very confusing, since at
that stage current local is kind of src of data for the future local ID,
that is currently a mere copy of the linked data... ;)

So we are much better with src/dst names here.
August 22, 2019, 09:10 (GMT)
Nodes: Support for socket shapes other than circle

Previously there was already "draw_shape" property,
but it was doing nothing. This commit renames the
property to "display_shape". Furthermore, different
shapes like SQUARE and DIAMOND are supported now.

Currently, the shapes are drawn using the shader that also
draws keyframes. In the future we might want to separate
this.

The new shapes are not used anywhere yet, but they can
be used by addon developers and will probably be useful
when we want to support different kinds node systems later.
For example, different shapes can be used to distinguish
between data and control flow.

Differential Revision: https://developer.blender.org/D2829
August 22, 2019, 03:23 (GMT)
Cleanup: remove edit-mode check in vertex coordinate access

This makes the function more predictable since other object
types don't access edit-mode data.
August 21, 2019, 23:13 (GMT)
Cleanup: typo in last commit
August 21, 2019, 20:48 (GMT)
Cleanup: vertex coordinate access, naming & minor changes

This also splits vertex access and allocation so it's possible
to copy coordinates into an existing array without allocating it.
August 21, 2019, 18:56 (GMT)
Cleanup: use doxy groups
August 21, 2019, 18:38 (GMT)
Cleanup: clang-format
Revision e83f092 by Omar Emara
August 21, 2019, 18:22 (GMT)
Shading: Add Volume Info node.

The Volume Info node provides the Color, Desnity, Flame, and Temperature
of smoke domains.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D5551
Revision 133dfdd by Omar Emara
August 21, 2019, 18:04 (GMT)
Shading: Add White Noise node.

The White Noise node hashes the input and returns a random number in the
range [0, 1]. The input can be a 1D, 2D, 3D, or a 4D vector.

Reviewers: brecht, JacquesLucke

Differential Revision: https://developer.blender.org/D5550
Revision 7f4a2fc by Omar Emara
August 21, 2019, 17:36 (GMT)
Shading: Add more operators to Vector Math node.

Add Multiply, Divide, Project, Reflect, Distance, Length, Scale, Snap,
Floor, Ceil, Modulo, Fraction, Absolute, Minimum, and Maximum operators
to the Vector Math node. The Value output has been removed from operators
whose output is a vector, and the other way around. All of those removals
has been handled properly in versioning code.

The patch doesn't include tests for the new operators. Tests will be added
in a later patch.

Reviewers: brecht, JacquesLucke

Differential Revision: https://developer.blender.org/D5523
August 21, 2019, 16:44 (GMT)
Cleanup: remove old Windows scons installer, this is handled by CMake now
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021