Blender Git Commits

Blender Git "master" branch commits.

Page: 219 / 5574

July 5, 2021, 05:54 (GMT)
Cleanup: remove unused defines
July 5, 2021, 05:54 (GMT)
Cleanup: remove temporary header
July 5, 2021, 05:54 (GMT)
Cleanup: update comment formatting

- Replace '[mce]' with "Mike Erwin".
- Remove references to turn-table author as it isn't useful information,
the author was credited in the commit message.
July 5, 2021, 05:54 (GMT)
Cleanup: minor improvements to BMesh dissolve faces

- Only create arrays with groups of two or more faces.
- Remove raising exception for zero length arrays.
- Remove redundant exception check (assert there is no exception).
- Use a struct for face array & it's length instead of a NULL
terminated array (removes the need to count faces in a loop).
July 3, 2021, 15:41 (GMT)
GPencil: Add weight factor to Offset randomize

Now, The weight is used in the randomize parameters of the offset modifier.

This is useful to generate effects like explosions.

Related to the new Vertex Weight modifiers.
July 3, 2021, 14:43 (GMT)
Cleanup: consistent use of tags: NOTE/TODO/FIXME/XXX

Also use doxy style function reference `#` prefix chars when
referencing identifiers.
July 3, 2021, 10:32 (GMT)
GPencil: Fix unreported PDF export offset

When exporting a PDF, the image was displaced towards top right a few pixels.

Also removed is_orthographic variable because is not needed now.

Revision 2d146b6 by Hans Goudey
July 3, 2021, 04:16 (GMT)
Cleanup: Use simpler method to retrieve attribute domain
Revision 5f5cf21 by Hans Goudey
July 2, 2021, 18:27 (GMT)
Cleanup: Remove unused transform matrix from objects

This was the only reference to this matrix.

https://developer.blender.org/D11770
Revision 55f2761 by Hans Goudey
July 2, 2021, 18:24 (GMT)
Geometry Nodes: Add mesh input warning to curve to mesh node

A point of confusion about this node is that it doesn't work on the
output of the mesh circle primitive node. This patch adds a warning to
help with that. This avoids adding a warning when the geometry set
input has no mesh.

Differential Revision: https://developer.blender.org/D11771
July 2, 2021, 17:06 (GMT)
Build: upgrade NanoVDB library to latest revision

This includes improved handling of OpenVDB trees with inactive voxels,
which previously could throw an error.

Ref T89581, T88438
July 2, 2021, 17:01 (GMT)
Cleanup: use template utility function to handle OpenVDB grid types in Cycles
July 2, 2021, 17:01 (GMT)
Fix T89581: Cycles crash rendering some OpenVDB files with inactive voxels

Print an error message instead.
Revision 8221d64 by Hans Goudey
July 2, 2021, 16:56 (GMT)
Cleanup: Further use of const when accessing evaluated mesh

Also resolve a warning from the previous commit. The next blocker to
using const is `BKE_mesh_wrapper_ensure_mdata`.
Revision 5f8969b by Hans Goudey
July 2, 2021, 16:37 (GMT)
Cleanup: Use const mesh to ensure BVH and triangulation cache

As noted in a comment now, these functions only update a cache, so they
don't change the logical state of the mesh, which is "it will have the
data when necessary." Using a const argument will help const correctness
when accessing an object's evaluated mesh.
Revision a160934 by Hans Goudey
July 2, 2021, 15:07 (GMT)
Cleanup: Fix variable redeclaration warning
July 2, 2021, 14:32 (GMT)
GPencil: Fix compiler warnings in previous commit

Revision 88c8551 by Julian Eisel
July 2, 2021, 13:42 (GMT)
Cleanup: Remove unused/unneeded code from old Asset Engine design

This code was written for the File Browser together with the Asset Engine
design, that is not part of the Asset Browser/System design anymore. Updated
comments accordingly.

`FileDirEntryRevision` was actually used, but I removed it and moved the used
members to the parent `FileDirEntry`, since there is no concept of revisions
currently.

There should be no functional changes.
July 2, 2021, 12:15 (GMT)
Copy Transforms: implement Remove Target Shear and more Mix options.

This constraint can be naturally viewed as a prototype for a future
4x4 matrix math node (or subset thereof), since its basic semantics
already is matrix assignment. Thus it makes sense to add math options
to this constraint to increase flexibility in the meantime.

This patch adds support for several operations that would be useful:

- An option to remove shear in the incoming target matrix.

Shear is known to cause issues for various mathematical operations,
so an option to remove it at key points is useful.

Constraints based on Euler like Copy Rotation and Limit Rotation
already have always enabled shear removal built in, because their
math doesn't work correctly with shear.

In the future node system shear removal would be a separate node
(and currently Limit Rotation can be used as a Remove Shear constraint).
However removing shear from the result of the target space conversion
before mixing (similar to Copy Rotation) has to be built into
Copy Transforms itself as an option.

- More ways to combine the target and owner matrices.

Similar to multiple Inherit Scale modes for parenting, there are
multiple ways one may want to combine matrices based on context.
This implements 3 variants for each of the Before/After modes
(one of them already existing).

- Full implements regular matrix multiplication as the most basic
option. The downside is the risk of creating shear.
- Aligned emulates the 'anti-shear' Aligned Inherit Scale mode,
and basically uses Full for location, and Split for rotation/scale.
(This choice already existed.)
- Split Channels combines location, rotation and scale separately.

Looking at D7547 there is demand for Split Channels in some cases,
so I think it makes sense to include it in Copy Transforms too, so that
the Mix menu items can be identical for it and the Action constraint.

Differential Revision: https://developer.blender.org/D9469
July 2, 2021, 12:15 (GMT)
Constraints: support a new Local Space (Owner Orientation) for targets.

Add a new transformation space choice for bone constraints, which
represent the local transformation of the target bone in the constraint
owner's local space.

The use case for this is transferring the local (i.e. excluding the
effect of parents) motion of one bone to another one, while ignoring
the difference between their rest pose orientations.

The new option replaces the following setup:

* A `child` bone of the `target`, rotated the same as `owner` in rest pose.
* A `sibling` bone of the `target`, positioned same as `child` in rest
pose and using Copy Transforms in World Space from `child`.
* The `owner` bone constraint uses Local Space of `sibling`.

(This analogy applies provided both bones use Local Location)

Differential Revision: https://developer.blender.org/D9493
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021