Blender Git Commits

Blender Git "master" branch commits.

Page: 675 / 5574

July 17, 2020, 07:39 (GMT)
Cleanup: remove f-string use in favor of percentage for formatting
July 17, 2020, 07:37 (GMT)
Fix vertex selection error from recent refactor

Temporary fix for regression in 8084b7e6e273e.
July 17, 2020, 06:31 (GMT)
Cleanup: extract draw cache sanity checks to own function
Revision 608d9b5 by Hans Goudey
July 16, 2020, 18:07 (GMT)
UI: Add shortcuts for constraint panels

Only the delete shortcut applies here, although the move up and down
operators can optionally be assigned in the keymap.

See rB1fa40c9f8a81 for more details and rB5d2005cbb54b for the
grease pencil modifier panel implementation, which is the same.
Some refactoring of the constraint delete operator was necessary,
including adding an invoke function.

Differential Revision: https://developer.blender.org/D8238
July 16, 2020, 17:52 (GMT)
Fix link error in bf_nodes

I got undefined reference errors on the `NodeMFNetworkBuilder::get_default_fn`
function under some circumstances. This symbol is definitely defined in bf_blenkernel.
The error seemed a bit undeterministic and was probably caused by some incorrect
link order. I don't get the error with this change.
July 16, 2020, 16:49 (GMT)
Simulation: rename bf_physics to bf_simulation

Also see {rB9363c4de0635394548fa2eb8d205581313029775}.
July 16, 2020, 16:04 (GMT)
Fluid: Update Mantaflow source files

Includes cleanup that resolves a -Wunused-but-set-variable warning.
Revision e7c1a32 by Sybren A. Stüvel
July 16, 2020, 15:38 (GMT)
Tests: disable ASAN when discovering tests

CMake, when it's configuring the project, runs the `blender_test` test
runner (if it exists from a previous build) to discover which tests it
contains. At this time none of the tests themselves are run, so it's not
that useful to run ASAN and have it break things when there are memory
leaks.

This commit disables ASAN by injecting `ASAN_OPTIONS="detect_leaks=0"` in
the environment variables.

It is not enough to use `set(ENV{ASAN_OPTIONS} "detect_leaks=0")` in
`tests/gtests/runner/CMakeLists.txt`, as it wouldn't be passed to the child
process.
July 16, 2020, 15:38 (GMT)
Tests: move tests from USD test directory into `io/common` and `io/usd`

This commit is a followup of {D7649}, and ports the USD tests to the new
testing approach. It moves test code from `tests/gtests/usd` into
`source/blender/io/common` and `source/blender/io/usd`, and adjusts the
use of namespaces to be consistent with the other tests.

I decided to put one test into `io/usd/tests`, instead of
`io/usd/intern`. The reason is that this test does not correspond with a
single file in that directory; instead, it tests Blender's integration
with the USD library itself.

There are two new CLI arguments for the Big Test Runner:

- `--test-assets-dir`, which points to the `lib/tests` directory in the
SVN repository. This allows unit tests to find test assets.
- `--test-release-dir`, which points to `bin/{BLENDER_VERSION}` in the
build directory. At the moment this is only used by the USD test.

The CLI arguments are automatically passed to the Big Test Runner when
using `ctest`. When manually running the tests, the arguments are only
required when there is a test run that needs them.

For more info about splitting some code into 'common', see
rB084c5d6c7e2cf8.

No functional changes to the tests themselves, only to the way they are
built & run.

Differential Revision: https://developer.blender.org/D8314

Reviewed by: brecht, mont29
July 16, 2020, 15:28 (GMT)
macOS: improve design of .dmg background

Differential Revision: https://developer.blender.org/D8300
July 16, 2020, 15:23 (GMT)
Cleanup: Port glClear calls to GPU module functions
July 16, 2020, 15:23 (GMT)
Cleanup: DRW: remove uneeded double bind

Now that binds are permanent there is no need to setup the same
texture for each subgroups.
July 16, 2020, 15:23 (GMT)
Cleanup: GPU: Move quad buffer stereo check to GPU module
July 16, 2020, 15:23 (GMT)
Cleanup: GPU: Replace all glReadPixels by GPU equivalent
July 16, 2020, 15:23 (GMT)
Cleanup: GPU: Move depth/color masks functions to GPU_state
July 16, 2020, 15:23 (GMT)
Cleanup: GPU: Move XOR logic op to gpu_state.c
July 16, 2020, 15:23 (GMT)
Cleanup: GPU: Remove GL_DITHER usage
July 16, 2020, 15:23 (GMT)
Cleanup: WM: Use GPUTexture API instead of raw ogl calls
July 16, 2020, 15:23 (GMT)
Cleanup: Gizmo: Remove non matched glDisable

We use the polyline shader for drawing the rotation gizmo now.
This shader supports clipping without hardware clip planes.
July 16, 2020, 14:43 (GMT)
Particles: avoid crash when connected unimplemented node
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021