Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 994 / 5574

November 6, 2019, 12:36 (GMT)
Constraints: remove special meaning of Local Space for parentless Objects.

In 2011 special handling was introduced, apparently for no other
reason than to address a complaint in T25707 that World and Local
space are equivalent for objects without parent. This causes issues
and confusion, as mentioned in rB599c8a2c8e4.

This special meaning of Local Space is not documented in the manual,
and is not known to experienced riggers, so removing it should not
be a problem.

Differential Revision: https://developer.blender.org/D6095
November 6, 2019, 10:53 (GMT)
Fix crash when adding Scene variable to a driver

When a Scene variable is added to a driver, and the RNA path is still NULL,
it no longer crashes Blender.
November 6, 2019, 09:45 (GMT)
Alembic: improved import/export of mesh normals

This commit implements the change in behaviour described in T71246.
In short:

For export, per mesh:
- Custom loop normals are defined ? loop normals are exported.
- One or more polys are marked flat ? loop normals are exported.
- Otherwise, no normals are exported.

For import, when the Alembic mesh contains:
- loop normals (kFacevaryingScope) ? use as custom loop normals, and
enble Auto Smooth to have Blender actually use them.
- vertex normals (kVertexScope or kVaryingScope) ? convert to loop
normals, and handle as above.
- no normals ? mark mesh as smooth.
- unsupported normal types (kConstantScope, kUniformScope,
kUnknownScope) ? handle as 'no normals'.

This also fixes T71130: Alembic split normal export issue

Previously the mesh flag `ME_AUTOSMOOTH` was used in conjunction with
the poly flag `ME_SMOOTH` to determine whether loop normals or vertex
normals were exported. This behaviour was hard to predict for artists,
and hard to describe in the manual. Instead, Blender now only exports
loop normals, computing them if necessary. This way, the mesh in Alembic
should always have the same loop normals as in Blender.

Maniphest Tasks: T71130

Differential Revision: https://developer.blender.org/D6197
November 6, 2019, 08:15 (GMT)
Mathutils: expose the utility to find the closest point of a triangle.

This computation is complex and useful enough to expose the existing
C math utility used by BVH nearest to Python. Otherwise this requires
the use of intersect_point_tri and multiple intersect_point_line calls
with some added vector math.

Differential Revision: https://developer.blender.org/D6200
November 6, 2019, 02:07 (GMT)
Merge branch 'blender-v2.81-release'
November 6, 2019, 02:06 (GMT)
Cleanup: remove unused game engine variable
November 6, 2019, 01:49 (GMT)
Merge branch 'blender-v2.81-release'
November 6, 2019, 01:46 (GMT)
Cleanup: remove EditNurb from DNA
November 5, 2019, 18:23 (GMT)
Fixed delaunay check, was causing 'desperation' messages.

Check was losing precision -- adjust by translating points
before calculating circumcircle.
Also, needed to check for flippability of edges before flipping.
November 5, 2019, 18:12 (GMT)
Fixed delaunay check, was causing 'desperation' messages.

Check was losing precision -- adjust by translating points
before calculating circumcircle.
Also, needed to check for flippability of edges before flipping.
November 5, 2019, 16:45 (GMT)
Merge branch 'blender-v2.81-release'
November 5, 2019, 16:44 (GMT)
Alembic import: fix incorrect 'topology changed' error

When importing subdivision surfaces a 'Topology Changed' error was shown
even though the topology didn't change at all. The code was comparing to
`totpoly` where `totloop` should have been used.
November 5, 2019, 16:35 (GMT)
Merge branch 'blender-v2.81-release'
November 5, 2019, 15:40 (GMT)
Fix T71071: errors when using multiple CUDA/Optix GPUs and host mapped memory

The multi device code did not correctly handle cases where some GPUs store a
resource in device memory and others store it in host mapped memory.

Differential Revision: https://developer.blender.org/D6126
November 5, 2019, 14:39 (GMT)
Merge branch 'blender-v2.81-release'
Revision 1b46b7c by Brecht Van Lommel
November 5, 2019, 14:38 (GMT)
Fix build errors in GHOST SDL
November 5, 2019, 14:38 (GMT)
Fix T71093: fluid settings not visible for workbench engine
November 5, 2019, 14:38 (GMT)
Fix compositor Denoise node showing Normal value buttons

Any values typed in here manually would not be used, it needs an image.
November 5, 2019, 14:38 (GMT)
Fix bug in Draco encoding for glTF, files are now smaller

Data was not quantified properly. It also lets the library choose the suitable
encoding method rather than forcing it to use the edgebreaker method.

Differential Revision: https://developer.blender.org/D6183
November 5, 2019, 14:26 (GMT)
Merge branch 'blender-v2.81-release'
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021