Blender Git Loki

Blenderin Git "master"-kehityshaaran kommitit.

Page: 652 / 5574

July 31, 2020, 02:05 (GMT)
UI: Label Fixes

These were added in rB146473f08335e8cb774ccaf1baad82a1d308fbe1 however
there were a few errors with the labels:

1. Underscore in label
2. Abbreviation when not needed
July 30, 2020, 19:18 (GMT)
Fix: Blender_test not working on windows.

This bumps the minimum requirement for cmake from 3.10 to 3.18 on windows
if `WITH_GTESTS` is enabled.

Reviewed By: sergey brecht sybren campbellbarton

Differential Revision: https://developer.blender.org/D8405
July 30, 2020, 17:43 (GMT)
Fix T79347 GPU: Segfault starting blender
July 30, 2020, 17:24 (GMT)
Merge branch 'blender-v2.90-release' into master
July 30, 2020, 17:19 (GMT)
Fix T79278: Selected object filter skipping collection instances

Collection instance datablocks were not filtered out when only showing
the selected object. They were treated as a collection (which should
show when filtering objects). Adds a case to check if the parent is an
object.
July 30, 2020, 16:53 (GMT)
Add compound shape for rigid body simulation

This patch adds a new compound shape entry to the shape selection
dropdown. It also corrects wrong inertia calculation for convex hulls,
that resulted in strange behavior for small objects.

The compound shape take the collision shapes from its object children
and combines them. This makes it possible to create concave shapes from
primitive shapes. Using this instead of the mesh collision shape is
often many times faster.

Reviewed By: Sergey, Sebastian Parborg

Differential Revision: https://developer.blender.org/D5797
July 30, 2020, 16:38 (GMT)
Merge remote-tracking branch 'origin/blender-v2.90-release'
July 30, 2020, 16:37 (GMT)
Cleanup: Remove pre 2.80 headers

Review: D8341
July 30, 2020, 16:22 (GMT)
Fix T79117: dependency cycle with passive rigid body objects

Reviewers: zeddb

Differential Revision: D8431
Revision 27d50d6 by Ankit Meel
July 30, 2020, 15:43 (GMT)
Enable header auto-complete suggestions in Xcode

Description of `USER_HEADER_SEARCH_PATHS` build setting:
"
This is a list of paths to folders to be searched by the compiler
for included or imported user header files (those headers listed
in quotes) when compiling C, Objective-C, C++, or Objective-C++.
Paths are delimited by whitespace, so any paths with spaces in
them need to be properly quoted. See Always Search User Paths
(Deprecated) (ALWAYS_SEARCH_USER_PATHS) for more details
on how this setting is used. If the compiler doesn't support the
concept of user headers, then the search paths are prepended to
the any existing header search paths defined in Header Search
Paths (HEADER_SEARCH_PATHS).
"

http://help.apple.com/xcode/mac/current/#/itcaec37c2a6

Xcode doesn't use `HEADER_SEARCH_PATHS` for auto-complete. Only the
header files in the same directory as the current file are suggested.

CMake as of now correctly sets `SYSTEM_HEADER_SEARCH_PATHS` and lumps the
rest in `HEADER_SEARCH_PATHS`. The standard way is to use
`USER_HEADER_SEARCH_PATHS` & `SYSTEM_HEADER_SEARCH_PATHS` and let
`HEADER_SEARCH_PATHS` be used as a fallback for compilers which do not
distinguish between `<*.h>` and `"*.h"` syntax.

So set `USER_HEADER_SEARCH_PATHS` to the include paths specified
in the `CMakeLists.txt` files of all targets.
July 30, 2020, 15:36 (GMT)
Merge branch 'blender-v2.90-release'
July 30, 2020, 15:29 (GMT)
Fix T79357: VSE crash on prefetching when performing cuts

Caused by {rBa1a333a1e92e}

`BKE_sequencer_prefetch_get_original_sequence` cant get a sequence in
`BKE_sequencer_cache_put`.

rBa1a333a1e92e moved multiple NULL checks (including the one checking
seq) above BKE_sequencer_prefetch_get_original_sequence (this should
never return NULL really, but this is for another fix).

So solution suggested by @ISS is to just stop prefetching all together
before changing content of seqbase.

Maniphest Tasks: T79357

Differential Revision: https://developer.blender.org/D8421
July 30, 2020, 15:17 (GMT)
GPU: Fix compilation error (missed one)
July 30, 2020, 15:08 (GMT)
GPU: Fix compilation error
July 30, 2020, 14:55 (GMT)
Cleanup: IMB: Put lowercase prefix on static functions
July 30, 2020, 14:44 (GMT)
EEVEE: GLSL refactor/cleanup

- add the use of DRWShaderLibrary to EEVEE's glsl codebase to reduce code
complexity and duplication.
- split bsdf_common_lib.glsl into multiple sub library which are now shared
with other engines.
- the surface shader code is now more organised and have its own files.
- change default world to use a material nodetree and make lookdev shader
more clear.

Reviewed By: jbakker

Differential Revision: https://developer.blender.org/D8306
July 30, 2020, 14:44 (GMT)
IMB: Refactor util_gpu.c to not expose enum getters

This was causing compiler error on MSVC and is not a good idea
in general.
July 30, 2020, 14:23 (GMT)
Cleanup: Use MEM_calloc_arrayN in the Cloth Brush

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8432
July 30, 2020, 14:10 (GMT)
Sculpt: Use constraints in cloth deform brushes

Previously, deform brushes were modifying the final positions in the
simulation directly, which was causing all sorts of artifacts in the
deformed area and problems with other features of the solver.
Now these brushes deform a separate array of positions and the solver
adds constraints to them, so the real vertices are moved when solving
the constraints. This prevents those artifacts and gives the brush a
much better behavior.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8424
July 30, 2020, 13:59 (GMT)
Sculpt: Enable persistent base for the cloth brush

The cloth brush builds the constraints when the stroke starts usign the
current state of the mesh. This means that deformations profuced by the
simulattion will accumulate after multiple strokes as it will always
start from the previous deformed state. While this is useful in many
cases, for other uses it is convenient to always simulate the same
initial shape, but applying different forces to it.

The persistent base options work like the persistent base in the layer
brush and allows the cloth brush to not accumulate deformation after
each stroke. When enabled, constraints are created for the shape stored
in the persistent base instead of from the current state of the mesh.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D8428
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021