Blender Git Commits

Blender Git "master" branch commits.

Page: 588 / 5574

September 8, 2020, 00:41 (GMT)
Cleanup: doxygen syntax for idtype.c
September 7, 2020, 23:30 (GMT)
Cleanup: remove unused source file

FX_shader_light.c was added by accident in 66da2f537ae80ce2.
September 7, 2020, 23:26 (GMT)
Cleanup: tabs to spaces
September 7, 2020, 23:18 (GMT)
Cleanup: consistent syntax for doxygen parameters

Also use back-slash instead of '@'.
September 7, 2020, 22:02 (GMT)
GPUQuery: GL Backend isolation

This is part of the Vulkan task T68990.

This introduce a new GLQueryPool for managing queries in an
implementation agnostic manner.

This modify the GPU selection query to use this new object.
This also make use of blender::Vector for better code quality.

No real functionnal change.
September 7, 2020, 22:02 (GMT)
GPU: Select Pick: Remove last GL call

This is part of the Vulkan task T68990
This is just a cleanup.
September 7, 2020, 22:02 (GMT)
GPUFramebuffer: Make GPU_framebuffer_read_depth more flexible

This is to make use of it in selection code.
Revision 97c6c4e by Hans Goudey
September 7, 2020, 20:34 (GMT)
Decimate Modifier: Restore vertex group factor property in UI

This property was inadvertently removed from the modifier's panel and
it wasn't caught in time for the release of 2.90. Thanks to the user
"VermossomreV" for bringing this to my attention.

Differential Revision: https://developer.blender.org/D8790
Revision 36aeb0e by Hans Goudey
September 7, 2020, 19:59 (GMT)
UI: Add temperature units

Based on the original patch by Vaishnav S (@padthai), this adds
support for temperature units. Initially supported units are Celsius,
Kelvin, and Fahrenheit.

The units aren't used anywhere with this commit. Those changes should
happen in separate patches by adding PROP_TEMPERATURE to RNA property
definitions. But it should be ensured that the various solvers and
simulations actually properly use real units.

The complexity of some of the changes comes from the fact that these
units have offsets from each other as well as coefficients. This also
makes the implementation in the current unit system troublesome.
For example, entering 0C evaluates correctly to 273K, but 0C + 0C
doubles that result, because each unit value is evaluated separately.
This is quite hard to solve in the general case with Blender's current
unit system, though, so it is not handled in this commit.

Differential Revision: https://developer.blender.org/D4401
Revision d4cca7b by Hans Goudey
September 7, 2020, 19:22 (GMT)
UI: Changes to timeline playback popover

The current playback popover has some issues:
- Using labels instead of headers is inconsistent with
the rest of the interface
- Incomplete context and description for some properties
- Ugly large spacing

This commit fixes these problems by using headers.

Differential Revision: https://developer.blender.org/D8434
Revision 5eb5978 by Ankit Meel
September 7, 2020, 18:56 (GMT)
Generate Xcode scheme files during configuration.

Every time CMake is re-run, Xcode shows a popup asking if
user wants to manage schemes automatically or manually.
Building Blender wiki page recommends managing schemes automatically.

This change sets the default behavior to "automatically" and generates
the .xcscheme files while CMake is running, instead of hogging Xcode
later on. With tests enabled, the number of schemes is 203.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8820
Revision 6aaa6c9 by Ankit Meel
September 7, 2020, 18:53 (GMT)
Tests: set build directory using build type

Similar to {rB0a5f7061369d53b4eac55362ad2}
but also for Xcode and Ninja multi-config.

This silences 44 pairs of warnings like:

/bin/rm -f build_full/bin/tests/BLI_ghash_performance_test
"build_full/CMakeScripts/XCODE_DEPEND_HELPER.make:42: warning:
ignoring old commands for target
`build_full/bin/tests/BLI_ghash_performance_test'"

/bin/rm -f build_full/bin/tests/BLI_ghash_performance_test
"build_full/CMakeScripts/XCODE_DEPEND_HELPER.make:3523: warning:
overriding commands for target
`build_full/bin/tests/BLI_ghash_performance_test'"

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8815
Revision 40dcf68 by Ankit Meel
September 7, 2020, 18:49 (GMT)
Support ASan library on macOS for all generators.

This change allows macOS developers to use
`WITH_COMPILER_ASAN` with every generator.

`CMAKE_C_IMPLICIT_LINK_DIRECTORIES` on macOS points to
`Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib`
which is not where the Sanitizer libraries are.

To link the library, rpath could be used but that seems complex,
so linker flags are passed as the documentation says. [1]

If users have `ASAN_OPTIONS=detect_leaks=1` in their environment
variables, it should be removed to avoid a feature-unsupported error
while compiling.

[1]: http://clang.llvm.org/docs/AddressSanitizer.html#usage

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D8817
September 7, 2020, 18:29 (GMT)
Add a Self option to the Exact boolean modifier. Fixes T52425.

With this option, self-intersections in either or both operands
will be handled properly (if both sides are piecewise winding
number constant, and maybe some other cases too).
In the Boolean tool, this flag was there already but the code
forced a unary operation in that case; this commit corrects it
to make a binary operation. This flag makes the code slower, which
is why it is an option and not an always-on thing.
September 7, 2020, 18:17 (GMT)
Cleanup: GLBackend: Move buf_free and tex_free to GLContext

This makes it easier to follow.

Also removes the GL related functions inside gpu_context.cc.
September 7, 2020, 18:17 (GMT)
GPUCapabilities: Isolate GL memory statistics

This is part of the Vulkan task T68990

This is a simple cleanup.
September 7, 2020, 18:17 (GMT)
GPUCapabilities: Isolate GL_STEREO to GLContext

This is part of the Vulkan task T68990

This is a simple cleanup.
September 7, 2020, 18:04 (GMT)
BLI: improve exception safety of VectorSet

For more information see rB2aff45146f1464ba8899368ad004522cb6a1a98c.
September 7, 2020, 17:37 (GMT)
GPU: Rename gpu_extensions to gpu_capabilities

This makes more sense as this module has more to it than just
GL extensions.
September 7, 2020, 17:37 (GMT)
GPUTexture: Bump GPU_TEX_MAX_FBO_ATTACHED

This was causing an assert when using `--debug-gpu-force-workarounds`
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021