Blender Git Commits

Blender Git "master" branch commits.

Page: 954 / 5574

January 8, 2020, 16:23 (GMT)
Fix T66529: Cycles motion blur render errors with fast rotating objects

In transform_motion_decompose, successive quaternion pairs are checked to be
aligned such that their interpolation is rotation through the shortest angle
between them. If not, the first in the pair was flipped. This can cause
problems for sequences of more than 2 quarternions, since flipping the first
in a pair might misalign the previously pair, if unlucky.

Instead, this change flips the second in the pair, which is safe when
iterating forwards.

Differential Revision: https://developer.blender.org/D6537
January 8, 2020, 16:21 (GMT)
Fix build error in tests on Clang / macOS
January 8, 2020, 15:57 (GMT)
Fix T72954: Cycles gradient texture not clamped when using OSL
January 8, 2020, 15:53 (GMT)
Cycles: Add OptiX AI denoiser support

This patch adds support for the OptiX denoiser as an alternative to the existing NLM denoiser in Cycles. It's re-using the same denoising architecture based on tiles and therefore implicitly also works with multiple GPUs.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D6395
January 8, 2020, 15:45 (GMT)
Fix T72288: Left click on empty space inside file browser resets scrolling

Wasn't checking if there actually is a selection.
Revision f52d9a8 by Julian Eisel
January 8, 2020, 15:08 (GMT)
Fix T72878: Alphabetical sorting in Outliner sorts shorter names last

E.g. "Cube" would be placed after "Cube.001", which is not what you'd
expect. 2.80 handled this correctly.

Loosely based on D6525 by @radcapricorn, but found a bug in that and
prefered to do some further adjustments.

Also activates test for this case.
Revision 525b0e0 by Julian Eisel
January 8, 2020, 15:08 (GMT)
Tests: Natural string comparing (BLI_strcasecmp_natural())

Adds tests covering a good amount of common cases and corner cases for
`BLI_strcasecmp_natural()`.
Could of course always add more tests for more cases, but don't want to
spend too much time on this.
January 8, 2020, 13:38 (GMT)
Fix T62311: Metaball animation playback crash

This commit restores old metaball workaround which was forcing their
update from a single thread.

The root of the issue comes to the fact that metaball evaluation needs
to access metaballs from duplilists, so they are properly polygonized
with corresponding motherball which is outside of duplilist.

In a more ideal world this will be implemented in a way that will not
require iterating over all duplilists, but only through the ones which
actually contain metaballs for the given motherball. In practice this
ends up in a huge refactor in both relations builder (which meeds to
see whether there are metaballs in duplilists without actually
creating duplilist as it can not be done prior scene is evaluated)
and in metaballs area which need to use new relations information.
Additionally, metaball evaluation must become thread-safe, which is
currently not a case with dupli-object matrices. There might be issues
deeper in polygonization code which I am not aware of.

Having this forced single-thread evaluation is same as Blender 2.79
was doing.

Think it's better to have slower but simpler solution than to invest
time in refactoring area which requires deeper design changes.

Reviewed By: dfelinto

Differential Revision: https://developer.blender.org/D6539
January 8, 2020, 12:33 (GMT)
Fix T72235: crash entering particle editmode with non-valid PTCacheEdit psys pointer

Caused by own rBe02ecd599bdc.
Can happen with e.g. cloth.

Also fixes T59583

Maniphest Tasks: T72235, T59583

Differential Revision: https://developer.blender.org/D6547
January 8, 2020, 12:21 (GMT)
Fix T72119: UV/Image Editor theme face colors with no effect

The `in int flag;` in `gpu_shader_2D_edituvs_faces_vert.glsl`
don't have the values `FACE_UV_ACTIVE` and `FACE_UV_SELECT`.

Add face flags then.

Original patch is from @EitanSomething

Differential revision: https://developer.blender.org/D6520
January 8, 2020, 11:35 (GMT)
Fix T72667: Collection delete hierarchy in edit-mode crashes

Also resolves T72848, although updating multiple windows doesn't work,
this matches 2.7x behavior.
January 8, 2020, 05:34 (GMT)
DNA: mark OrigSpace structs as run-time
January 8, 2020, 05:34 (GMT)
Cleanup: mesh data header

This file had become disorganized, it wasn't clear which structs/flags
were deprecated.

- Add comments explaining what each struct is for.
- Use doxy sections.
- Remove outdated notes, unused flags.
- Group custom-data.
- Group deprecated structs in their own section.

T
January 8, 2020, 03:30 (GMT)
Fix T72919: NDOF 'Free' orbit preference is ignored

Regression from 6288dbffb6c1f.
January 8, 2020, 01:59 (GMT)
Cleanup: use paint/sculpt prefix in BKE_paint.h

PoseIKChain for example reads as if this is related to armature/pose
when it's a sculpting feature.
January 7, 2020, 16:11 (GMT)
Fix T72251: Add rotate brush as constrained by radius for automasking

This brush should be added to the set of brushes where we know which
vertices are going to be affected by the brush when starting the stroke.
This way we can limit the automasking only to those vertices instead of
flood filling the whole mesh from the active vertex.

All brushes that are not in this set will automask by flood filling the
mesh when starting the stroke. To improve this and make it work as most
users expect, we need a fast way to calculate topological distances on
high poly meshes.

Reviewed By: jbakker

Maniphest Tasks: T72251

Differential Revision: https://developer.blender.org/D6376
January 7, 2020, 16:10 (GMT)
Fix T72647: Check if the PBVH type makes sense for the sampling mode

Before this it was possible to use the operator with Dyntopo sample mode
with a PBVH type GRIDS or FACES, causing a crash. Now we check first if
the PBVH type is correct before calling the sampling function.

We also check if the PBVH exists, which may also cause a crash.

Reviewed By: jbakker

Maniphest Tasks: T72647

Differential Revision: https://developer.blender.org/D6475
January 7, 2020, 16:03 (GMT)
Fix T72830: Check if the mesh has mask data before extractig or slicing

This was causing a crash when the mesh does not have the mask data
initialized. I also added the same check to mask extract as it works the
same way.

Reviewed By: jbakker

Maniphest Tasks: T72830

Differential Revision: https://developer.blender.org/D6513
January 7, 2020, 15:57 (GMT)
Sculpt: Pose Brush with Inverse Kinematics

This commits introduces the pose_ik_segments brush property in the Pose Brush. When increasing the IK segments count, the brush generates more segments and weights associations following the topology of the mesh. When moving the brush, these segments are transformed using an IK solver and they are used to deform the mesh.

When pressing Ctrl, the brush controls the segments' roll rotation instead of using the IK solver. The brush falloff controls how much rotation is propagated from the first to the last segment in the chain.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D6389
January 7, 2020, 15:42 (GMT)
Fix T72935: Applying transform to parent mesh changes rotation of children using quaternions

`ob->quat` is `v4`.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021