Blender Git Commits

Blender Git "master" branch commits.

Page: 184 / 5574

August 5, 2021, 18:37 (GMT)
Add custom data comparison for generic attributes

Generic attributes CD_PROP_* comparison is added in customdata_compare
Checks for built-in as well as user created attributes.

Reviewed By: JacquesLucke

Differential Revision: https://developer.blender.org/D12137
August 5, 2021, 18:31 (GMT)
Xcode: support cmake options for grouping in folders

The Xcode IDE can also benefit from the options:
- WINDOWS_USE_VISUAL_STUDIO_SOURCE_FOLDERS
- WINDOWS_USE_VISUAL_STUDIO_PROJECT_FOLDERS

So add suport to these options and also renames them as they are no
longer limited to just Windows and Visual Studio.

Reviewed By: brecht, ankitm

Differential Revision: https://developer.blender.org/D12132
August 5, 2021, 18:21 (GMT)
Action Constraint: add Split Channels Mix choices from Copy Transforms

Practice shows that when combining actions and direct animation
it is usually best to combine location, rotation and scale
separately, which is implemented by the Split Channels modes
recently introduced in D9469 for Copy Transforms. This completes
the same set of 6 choices for the Action Constraint.

The default for new constraints is changed to the newly
added Before Original (Split Channels) mode.

The original patch is motivated by Loic Pinsard, who created
an addon that does the equivalent of this feature by splitting
the action into two, separating location and rotation+scale.

Differential Revision: https://developer.blender.org/D7547
August 5, 2021, 18:10 (GMT)
Fix T90235: Smooth Brush not working with interior vertices with two adjacent edges

The exception to automatically pin vertices of grid corners also
has to take into account that the vertex is in a boundary.

Reviewed By: JacquesLucke

Maniphest Tasks: T90235

Differential Revision: https://developer.blender.org/D12044
August 5, 2021, 18:08 (GMT)
Fix T90236: Sculpt automasking failing when the stroke does not start over the mesh

The active geometry element are usually updated by the cursor drawing
code (as they are needed for the cursor preview) and when an sculpt
operator starts. For brushes, this was not happening. This was making
brushes rely by default on the last cursor drawing update, which can
be incorrect if the mouse moved after starting the stroke without
hovering the active geometry.

Reviewed By: JacquesLucke

Maniphest Tasks: T90236

Differential Revision: https://developer.blender.org/D12045
August 5, 2021, 17:06 (GMT)
PyDoc: document how parameter are used for 3D and 2D textures

Improves on rB171433e841379e7efad069bbda9880fb271e2fc4
Revision bd44e82 by Eitan / Hans Goudey
August 5, 2021, 15:44 (GMT)
Geometry Nodes: Add more warnings for out of bounds parameters

Add warning(info) to nodes that don't work when an input value is
out of range. For example, the grid node doesn't work with Vertices X
or Verices Y less than 2.

These are purposefully added as "Info" warnings, because they don't
show in the modifier and they aren't printed to the terminal.

Differential Revision: https://developer.blender.org/D11923
August 5, 2021, 15:43 (GMT)
BMesh: support laplacian smooth for n-gons

Follow the same logic already used by the modifier.
August 5, 2021, 15:42 (GMT)
Cleanup: replace short with boolean for zero area array

Also remove redundant fabsf on the area of a quad/tri &
reduce indentation using continue in for loop.
August 5, 2021, 15:36 (GMT)
Cleanup: comment blocks & spelling
Revision 8158211 by Campbell Barton
August 5, 2021, 15:32 (GMT)
Cleanup: quiet array-parameter warning
August 5, 2021, 15:22 (GMT)
Render: move Cycles visibility, holdout and shadow catcher properties to Blender

The immediate reason for this is that we want to be able to initialize them
to different defaults for light objects, which is hard with Python properties.
But in general it is useful to be able to share these with other renderers.

As a side effect, Eevee now supports a per-object holdout instead of only
per-collection.

Differential Revision: https://developer.blender.org/D12133
August 5, 2021, 15:21 (GMT)
Cleanup/Fix RNA array length accessors returning non-zero values in invalid cases.

This was apparently done in two places only, with a very cryptic comment
(`/* for raw_access, untested */`), and... I cannot see how returning a
non-zero length value for an array that does not exist or is not
accessible at least, would be anything but an obvious source of issues.

Note that both commits adding those lines are from stone ages (2009):
rBcbc2c1886dee and rB50e3bb7f5f34.
August 5, 2021, 15:21 (GMT)
Fix T83164: Spline IK `joint_bindings` parameter is broken.

Code freeing the array would not properly reset its length value to
zero.

Note that this corrupted data could also be saved in .blend files, so
had to bump fileversion and add some doversion code too.

Fix T90166: crash when creating a liboverride.
August 5, 2021, 15:12 (GMT)
GPencil: New Merge Layer keymap: Shift+Ctrl+M

The keymap is available in: Draw, Edit, Sculpt, Weight Paint and Vertex Paint modes.

The keymap is not available in Object mode to avoid any conflict.

Reviewed By: pepeland

Differential Revision: https://developer.blender.org/D12128
Revision 03d7561 by Peter Kim
August 5, 2021, 15:08 (GMT)
Fix build error when WITH_XR_OPENXR not defined
August 5, 2021, 15:07 (GMT)
GPencil: New Caps icons

These icons are used to define the type of caps.

Designed by: Matias Mendiola
Reviewed by: Pablo Vazquez
August 5, 2021, 14:56 (GMT)
DRW: New Select Debug Engine

This is a simple engine used only to debug the texture of select ids.

It is only used when the `WITH_DRAW_DEBUG` option is enabled and the
debug value is 31.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D5490
Revision e844e9e by Peter Kim
August 5, 2021, 14:40 (GMT)
XR Controller Support Step 2: Action Maps

Addresses the remaining portions of T77137 (Python API for Controller
Interaction), which was partially completed by D10942.

Adds an XR "action maps" system for loading XR action data from a
Python script. Action maps are accessible via the Python API, and are used
to pass default actions to the VR session during the
xr_session_start_pre() callback.

Since action maps are stored only as runtime data, they will be
cleaned up with the rest of the VR runtime data on file read or exit.

Reviewed By: Julian Eisel, Hans Goudey

Differential Revision: https://developer.blender.org/D10943
August 5, 2021, 13:26 (GMT)
Fix T89963: crash when library override is applied to an object from a linked scene.

LibOverride of scenes is not really supported currently, there are many
issues with it.

Will disable most user-accessible ways to create such overrides in a
following commit.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021