Blender Git Commit Log

All Blender Git commits.

Page: 1324 / 8462

August 27, 2020, 08:18 (GMT)
Cleanup: mostly comments, use doxy syntax & typos

- Use doxy syntax for functions.
- Use `pragma once` for header guard.
August 27, 2020, 05:49 (GMT)
Merge branch 'master' into newboolean
August 27, 2020, 05:33 (GMT)
Cleanup: clang-format
August 27, 2020, 04:25 (GMT)
MSVC: Set proper flags for C++17 support.

MSVC already builds with the /std:c++17 flag but for
'reasons' [1] MSVC still gives the wrong value for the
__cplusplus define.

This change sets an additional cxx flag on supported
compilers to allow the compiler properly identify
C++17 support.

This resolves 2 warnings coming out of bullet about
the register keyword being deprecated.

[1] https://devblogs.microsoft.com/cppblog/msvc-now-correctly-reports-__cplusplus/
August 27, 2020, 04:20 (GMT)
Cleanup: Fix build warning with MSVC and OSL

OSL requires RTTI to be off, this is done with the /GR- flag for
MSVC, however /GR is in the default CXX flags leading to warning

D9025 : overriding '/GR' with '/GR-'

which cannot be suppressed.

/GR is on by default and this flag is not required, so removing
it from the default CXX flags makes it possible later use /GR-
without generating warnings.
August 27, 2020, 03:39 (GMT)
LineArt: Prompt on baking finish.
August 27, 2020, 03:29 (GMT)
Fix (unreported): Outliner Data API tree subtree expansion

The changes in rB70151e41dc02 broke subtree expansion in the Data API
display mode because the closed subtrees are empty lists. Move the empty
subtree check from `outliner_item_openclose` to the walk navigation
code to prevent the issue.
August 27, 2020, 01:59 (GMT)
Merge remote-tracking branch 'origin/master' into lanpr-under-gp
August 27, 2020, 01:14 (GMT)
Cleanup: Fix build warning with MSVC

`IDTypeForeachCacheFunctionCallback` lists the `flags` parameter
as `uint`, having these functions use `eIDTypeInfoCacheCallbackFlags`
results in the following warning when building with MSVC:

warning C4028: formal parameter 4 different from declaration

This change resolves this warning by changing the parameter to
the appropriate type.
August 27, 2020, 01:07 (GMT)
Cleanup: Fix MSVC warning in mantaflow

This resolves the following MSVC warning:

warning C4805: '&=': unsafe mix of type 'int' and type 'bool' in operation
August 26, 2020, 22:12 (GMT)
Merge branch 'master' into property-search-ui-v2
August 26, 2020, 21:53 (GMT)
UI: Use alternating row theme color in file browser

The outliner already uses the alternating row theme color as an
overlay for every other row. This uses the same color for the file
browser, instead of a hardcoded shading.

The file browser background color is slightly tweaked to match the
outliner, and the Blender Light theme is updated to use a lighter
background color like the outliner.

Reviewed by: Hans Goudey, Julian Eisel

Differential Revision: https://developer.blender.org/D8717
August 26, 2020, 20:02 (GMT)
Tests: fail automated tests on memory leaks and other internal errors

This adds a new `--debug-exit-on-error` flag. When it is set, Blender
will abort with a non-zero exit code when there are internal errors.
Currently, "internal errors" includes memory leaks detected by
guardedalloc and error/fatal log entries in clog.

The new flag is passed to Blender in various places where automated
tests are run. Furthermore, the `--debug-memory` flag is used in tests,
because that makes the verbose output more useful, when dealing
with memory leaks.

Reviewers: brecht, sergey

Differential Revision: https://developer.blender.org/D8665
August 26, 2020, 19:15 (GMT)
Merge branch 'master' into soc-2021-testing-frameworks
August 26, 2020, 19:11 (GMT)
Removed the abstract base class as there is now only 1 Helper Test class, updated deform modifiers to ModifierTest
August 26, 2020, 18:44 (GMT)
install_deps: add fontconfig to installed libs/tools.
August 26, 2020, 17:42 (GMT)
Cleanup: Fix const warning with BLI_array_free

when you call the BLI_array_free macro with a const pointer you get a
warning when the macro calls `MEM_freeN` (warning C4090: 'function':
different 'const' qualifiers)

This was warning originating from
`smart_uv_project_calculate_project_normals` in `uvedit_unwrap_ops.c`

Normally we resolve these with a non const cast at the callsite
but given BLI_array_free is a macro not a function this is not
an option here and it has to be resolved in the macro.
August 26, 2020, 17:26 (GMT)
Fix T80129: Cycles shadow catcher viewport error with exposure other than 1
August 26, 2020, 17:26 (GMT)
Fix T80080: improve tooltip for render number of threads

Since the switch to TBB, the threads value specificies the maximum number of
CPU cores used while rendering, it is not longer possible to use more threads
than cores. Change the tooltip to make this more clear.
August 26, 2020, 17:26 (GMT)
Cleanup: better naming and no bad level access in BLI_winstuff
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021