Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1381 / 8462

August 10, 2020, 16:30 (GMT)
Merge branch 'blender-v2.90-release'
August 10, 2020, 16:29 (GMT)
Fix T79636: Inserting special characters with Ctrl+Alt broken on Windows

We can't exactly follow what we do for macOS here. On Windows special
characters can be inserted with Ctrl+Alt. So make sure we expect UTF-8
characters when Alt is held.

Mistake in 87062d4d670c.
August 10, 2020, 16:18 (GMT)
Cleanup: follow code style regarding braces
August 10, 2020, 16:17 (GMT)
BLI: improve StringRef for C++17

Since C++17 there is also std::string_view, which is similar to StringRef.
This commit does a couple of things:
* New implicit conversions between StringRef and std::string_view.
* Support std::string_view in blender::DefaultHash.
* Support most of the methods that std::string_view has.
* Add StringRef::not_found which can be used instead of -1 in some places.
* Improve/fix the description at the top of BLI_string_ref.hh.
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
August 10, 2020, 15:40 (GMT)
Merge branch 'blender-v2.90-release'
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:36 (GMT)
Merge branch 'master' into soc-2020-io-performance
August 10, 2020, 15:31 (GMT)
Use FILE_MAX instead of PATH_MAX

Also, allow more vertices data points to be in int
strings.
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
Revision 4fe074e by Mateusz Grzeliński (soc-2020-info-editor)
August 10, 2020, 15:03 (GMT)
Add SpaceInfoFilter to RNA

- add add, remove operators
August 10, 2020, 14:41 (GMT)
GPencil: Fix warning text
August 10, 2020, 14:35 (GMT)
Merge branch 'master' into greasepencil-object
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:36 (GMT)
Merge branch 'master' into lanpr-under-gp
August 10, 2020, 13:35 (GMT)
Merge branch 'master' into greasepencil-edit-curve
August 10, 2020, 13:35 (GMT)
Merge branch 'master' into greasepencil-object
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021