Blender Git Commits

Blender Git "master" branch commits.

Page: 633 / 5574

August 10, 2020, 16:14 (GMT)
Tests: move remaining gtests into their own module folders

And make them part of the blender_test runner. The one exception is blenlib
performance tests, which we don't want to run by default. They remain in their
own executable.

Differential Revision: https://developer.blender.org/D8498
August 10, 2020, 16:10 (GMT)
Sculpt: Option to mask front faces only using Lasso and Box Mask

This adds a property that checks the normals of each vertex against the
view direction to decide if they should be masked (similar to the
"Front Faces Only" option works for brushes.

Reviewed By: sergey

Maniphest Tasks: T77637

Differential Revision: https://developer.blender.org/D8448
August 10, 2020, 16:04 (GMT)
Sculpt: Boundary Brush

This brush includes a set of deformation modes designed to deform and
control the shape of the mesh boundaries, which are really hard to do
with regular sculpt brushes (and even in edit mode). This is useful
for creating cloth assets and hard surface base meshes.

The brush detects the mesh boundary closest to the active vertex and
propagates the deformation using the brush falloff into the mesh.
It includes bend, expand, inflate, grab and twist deform modes.

The main use cases of this brush are the Bend and Expand deformation
modes, which depend on a grid topology to create the best results.
In order to do further adjustments and tweaks to the result of these
deformation modes, the brush also includes the Inflate, Grab and
Twist deformation modes, which do not depend that much on the topology.

Grab and Inflate are the same operation that is implemented in the
Grab and Inflate tools, they are also available in the boundary brush
as producing deformations with regular brushes in these areas is very
hard to control.

Even if this brush can produce deformations in triangle meshes and
meshes with a non-regular quad grid, the more regular and clean the
topology is, the better. Most of the assets this brush is intended to
deform are always created from a cylindrical or plane quad grid, so it
should be fine. Also, its algorithms can be improved in future versions
to handle more corner cases and topology patterns.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8356
Revision 71639cc by Julian Eisel
August 10, 2020, 15:40 (GMT)
Merge branch 'blender-v2.90-release'
Revision 9c093a5 by Julian Eisel
August 10, 2020, 15:39 (GMT)
Fix T79324: Crash when changing View Layer while VR session runs

Proper handling of View Layers for the VR session was never implemented.
Now the View Layer of the VR session follows the window the session was
started in.
Note that if this window is closed, we fallback to another window. This
is done to avoid the overhead it would take to maintain a separate
depsgraph for the VR view. Instead we always share some already visible
View Layer (and hence the depsgraph).
August 10, 2020, 15:06 (GMT)
Merge branch 'blender-v2.90-release'
August 10, 2020, 15:05 (GMT)
Fix T78113: Random explosions of cloth with self collision

The problem is caused by a lack of prediction in the `isect_line_segment_tri_v3`
that incorrectly confirms some intersections of coplanar segments to the triangle.

The solution is to use another algorithm to detect intersections.

This also resulted in a slight improvement in the performance:
- 1min 17sec to 1min 6sec in my test file

Differential Revision: https://developer.blender.org/D8500
August 10, 2020, 14:41 (GMT)
GPencil: Fix warning text
August 10, 2020, 14:34 (GMT)
GPencil: Invert Filled area pressing Ctrl key

This feature was suggested in https://blender.community/c/rightclickselect/rggbbc/

When press `Ctrl+LMB`, the filled area is inverted.

{F8749306}

{F8749307}

Filling several areas:

{F8759399}

Differential Revision: https://developer.blender.org/D8477
August 10, 2020, 13:33 (GMT)
GPencil: Change default Stroke thickness when convert curves

The thickness by default was using the old Draw Engine values and it was too thick in new engine.
August 10, 2020, 13:33 (GMT)
GPencil: Remove color conversion when convert curve

In previous versions, grease pencil used sRGB and a color conversion was needed, but now all is Linear and the conversion changes the color wrongly.
August 10, 2020, 12:35 (GMT)
Merge branch 'blender-v2.90-release' into master
August 10, 2020, 12:34 (GMT)
Fix T77847: "Add plane > align" causes crash when certain rigs are in the scene (2.83, fixed in 2.90).

Root of the issue was not fixed in 2.90, only hidden by the fact that we
now re-read much less data during undo's that we used to, when some new
datablock gets added or removed.

This is not an ideal solution (as usual when dealing with data pointers
shared across data-blocks), but it's decent enough. thanks a lot to
@brecht for it!

To be backported to 2.83 too.
Revision 659f7f1 by Julian Eisel
August 10, 2020, 11:52 (GMT)
Merge branch 'blender-v2.90-release'
Revision 2e5c877 by Julian Eisel
August 10, 2020, 11:52 (GMT)
Fix pose offset on VR session start for some OpenXR runtimes

We want the session to start exactly at the landmark position, with
no additional offset. Some runtimes (e.g. Windows Mixed Reality) may
give an initial non-[0,0,0] position at session start though.

Also add a comment explaining the purpose of the eye offset variable.
Revision f1cb3df by Julian Eisel
August 10, 2020, 11:51 (GMT)
Fix broken behavior on active VR Landmark change

There would always be an unintended offset applied. Per design there
should not be any offset when changing VR Landmarks, the view should
just jump exactly to the Landmark.

Due to the recent changes, we don't have to add, but substract the eye
offset we apply to get the wanted behavior.

Mistake in 607d745a79e0.
Revision 9c1f140 by Julian Eisel
August 10, 2020, 11:49 (GMT)
Fix pose offset on VR session start for some OpenXR runtimes

We want the session to start exactly at the landmark position, with
no additional offset. Some runtimes (e.g. Windows Mixed Reality) may
give an initial non-[0,0,0] position at session start though.

Also add a comment explaining the purpose of the eye offset variable.
Revision 727a744 by Julian Eisel
August 10, 2020, 11:40 (GMT)
Fix broken behavior on active VR Landmark change

There would always be an unintended offset applied. Per design there
should not be any offset when changing VR Landmarks, the view should
just jump exactly to the Landmark.

Due to the recent changes, we don't have to add, but substract the eye
offset we apply to get the wanted behavior.

Mistake in 607d745a79e0.
August 10, 2020, 08:54 (GMT)
Fix T77685: object transforms from rigid body simulation are ignored by modifiers

This does not fix all the cases in the bug report, because there are multiple
different issues. Only the first two are fixed. The third is probably a known
issue for now.

Before this patch, the rigid body simulation was always done after modifiers
are evaluated, because to perform the simulation, the final geometry of the
object was required. However, the geometry is not required in all cases,
depending on the selected collisions shape.

This patch changes it so that when the simulation does not need the
evaluated geometry, the simulation will be done before the modifiers
are evaluated. This gives the modifiers access to the simulated positions.
When the rigid body simulation does depend on the evaluated geometry,
it will still be performed after modifiers are evaluated.

The simulation will be performed after modifiers are evaluated, iff
the collision shape is "Convex Hull" or "Mesh" and the source is set
to "Deform" or "Final".

Reviewers: sergey

Differential Revision: https://developer.blender.org/D8487
Revision 52a57af by Campbell Barton
August 10, 2020, 08:30 (GMT)
Cleanup: use doxy sections for object_dupli.c
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021