Blender Git Commits

Blender Git "master" branch commits.

Page: 732 / 5574

June 9, 2020, 20:19 (GMT)
Cycles: Fix uniform cone sampling

This code is currently only used for the Glossy Toon BSDF, but it's a generic
building block that might be used for other things in the future.

To see why the current code does not give a uniform distribution, consider that
it chooses both angles uniformly, but the smaller the angle from the center of
the cone is, the smaller the differential solid angle is (similar to how
sampling disks by choosing radius and phi uniformly does not work).

Differential Revision: https://developer.blender.org/D7948
Revision d3f83d9 by Hans Goudey
June 9, 2020, 19:11 (GMT)
UI: Remove extra separator in some cases
Revision d1932a8 by Julian Eisel
June 9, 2020, 18:42 (GMT)
Fix missing animation decorators for pointer buttons

Also, remove manually placed decorator for vertex groups in modifiers. This was
only needed because of this bug, and the layout was slightly misaligned.
Revision 819ebc9 by Hans Goudey
June 9, 2020, 17:41 (GMT)
UI: Set modifier panel expansion on every redraw

This will fix situations where the modifier epansion was set elsewhere
besides the UI, like from the python console, solving the drawing part
of T77502.

Also adds update tags to the show_expanded property, which means
the properties window redraws when the property changes.
June 9, 2020, 17:09 (GMT)
Sculpt: Face Set Edit Operator

This operator performs an edit operation in the active face set defined
by the cursor position and updates the visibility. For now, it has a
Grow and Shrink operations, similar to Select More/Less in edit mode or
to the mask filter Grow/Shrink modes. More operations can be added in
the future.

In multires, this updates the visibility of an entire face from the base
mesh at once, which makes it very convenient to edit the visible area
without manipulating the face set directly.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7367
June 9, 2020, 16:49 (GMT)
Sculpt: Pose Squash and Stretch deform mode

This implements squash and stretch as a deform mode for the Pose Brush.
It is similar to scale, but it applies different scale values in different
axis. To achieve this, the pivot local space of the transform needs to
be aligned to the segment when using this deform mode to apply the scale
in the correct direction.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7934
June 9, 2020, 16:28 (GMT)
Voxel Size Edit: Fix text not readable when zooming in the viewport

Previously the scale of the text was using object space, so when working
with scaled objects or small meshes the size of the text was wrong. Now
it calculates a scale in screen space, so the text size should be much
more predictable

Reviewed By: sergey, Severin

Differential Revision: https://developer.blender.org/D7941
June 9, 2020, 16:27 (GMT)
Fix Edit Voxel Size label in preview

The format string was wrong so it was rendering an extra % character

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7942
Revision 53d1a72 by Julian Eisel
June 9, 2020, 16:12 (GMT)
UI: Avoid rebuilding Outliner tree on simple button interactions

E.g. simply on button hover changes, the tree would be needlessly rebuilt.

I wouldn't be surprised if this causes side-effects, for some state changes we
may still have to do a full rebuild.
June 9, 2020, 15:18 (GMT)
Fix T77504: Operator search gives wrong results

Regression in e8ab0137f8766
June 9, 2020, 15:08 (GMT)
Nodes: efficient node tree queries and inlining

This adds two data structures that wrap a node tree. However, they work
on different abstraction levels.

`NodeTreeRef` is an immutable structure that makes working with a node
tree in C++ much more efficient and convenient. It supports various
queries efficiently, that are not easily possible using just `bNodeTree`.

`DerivedNodeTree` builds on top of `NodeTreeRef`. It contains a flattened
view on the node tree, i.e. with node groups being inlined. Every inlined
node still knows its "call stack". It supports pretty much the same queries
as `NodeTreeRef`.

Both data structures come with a dot graph exporter for debugging purposes.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D7628
June 9, 2020, 15:01 (GMT)
Cleanup: Move pointcache dna to separate file

Reviewers: brecht

Differential Revision: https://developer.blender.org/D7965
June 9, 2020, 14:43 (GMT)
Cleanup: extract function for common function call sequence
June 9, 2020, 14:31 (GMT)
Fix T76894: Disable clipping region selection in material/rendered mode

In this case the draw engine isn't responsible for the selection, but
the editor is.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D7955
Revision 84a5bd9 by Evan Wilson / Jacques Lucke
June 9, 2020, 14:29 (GMT)
Fix T76984: Normal node not drawing properly in compositor

Differential Revision: https://developer.blender.org/D7827
June 9, 2020, 14:23 (GMT)
Cleanup: correct enum names in comments
June 9, 2020, 14:23 (GMT)
BLI: remove incorrect const
June 9, 2020, 13:46 (GMT)
GPencil: Keep original stroke when reproject

When reproject a stroke sometimes is good to keep the copy of the original stroke to create volume effects

Related to T77639

{F8603513}

Reviewed By: mendio, pepeland

Maniphest Tasks: T77639

Differential Revision: https://developer.blender.org/D7963
50258
June 9, 2020, 12:35 (GMT)
Fix T72936: Incorrect gizmo orientation with inherit rotation disabled
June 9, 2020, 12:06 (GMT)
Fix T77448: Camera Solver constraint can't be converted to f-curve

A regression caused by c57f65c088a9 as a fix of another issue.

Added an exception for camera solver as that is always pointing
to camera object.

Since this is a regression which happened in 2.83.0 this change is
a candidate to be ported to the 2.83.1.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021