Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1460 / 8462

July 17, 2020, 06:03 (GMT)
Merge branch 'master' into soc-2020-io-performance
July 17, 2020, 02:23 (GMT)
Performance tuning: early rejection of trivial intersections.

Starting to use floating filters to avoid expensive gmp operations
when possible. These changes speed up the sphere-sphere test with
n=64 to 5s (now 17 times slower than BMesh on this test, down from
100 times slower. But answer is correct.
Also make format.
July 16, 2020, 22:50 (GMT)
Merge branch 'master' into asset-metadata
July 16, 2020, 20:43 (GMT)
Move stoi into a function; Add exception handling

Also add comments for utility functions.

Also make `string` a `const &`; prefix return variables with `r_`.

Use `string::empty()` instead of comparing it with "" (clang-tidy).
Revision ea4c327 by Hans Goudey (active-fcurve-keyframe)
July 16, 2020, 18:15 (GMT)
Merge branch 'master' into active-fcurve-keyframe
Revision 608d9b5 by Hans Goudey (master)
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, 17:42 (GMT)
Merge branch 'greasepencil-edit-curve' into soc-2020-greasepencil-curve
July 16, 2020, 17:38 (GMT)
UI: Fix drawing of aligned buttons in menu rows

This adds support for drawing icon buttons as a row in a popup menu. This is needed for drawing collection color tag icons in a row in the outliner context menu.

A few issues still exist, but I would like some initial review now that it mostly works.
* The icons do not draw aligned with the text labels. This is easy to fix, but the hover highlight is still drawn incorrectly.
* This works well when creating row icon buttons with an operator_enum, but manually creating the row elements doesn't draw an initial offset blank icon.

Differential Revision: https://developer.blender.org/D8317
July 16, 2020, 17:37 (GMT)
Merge branch 'master' into soc-2020-outliner
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.
July 16, 2020, 15:58 (GMT)
Rename: mesh_from_bm_ to mesh_from_ob_
July 16, 2020, 15:45 (GMT)
Merge branch 'master' into lanpr-under-gp
July 16, 2020, 15:45 (GMT)
Merge branch 'master' into greasepencil-object
July 16, 2020, 15:45 (GMT)
Merge branch 'master' into greasepencil-edit-curve
Revision e7c1a32 by Sybren A. Stüvel (master)
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:38 (GMT)
Exporter: Fix UV indices being edited by the writer.

Also revert
{{rBd68899e99a0c}}
July 16, 2020, 15:28 (GMT)
macOS: improve design of .dmg background

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