Blender Git Loki

Blender Git "lineart-shadow" branch commits.

Page: 47 / 76

December 19, 2020, 04:00 (GMT)
LibOverride: Adjust PointCache operators to properly handle overrides.

LibOverrides only support a small sub-set of PointCache features for now
(one cannot add new caches, baking in memory is not supported...).

Part of first step of T82503: support disk cache in liboverrides.
December 19, 2020, 04:00 (GMT)
LibOverride: Do not tag overrides for complete recalc.

This was done as some sort of safety, but should not actually be needed,
and including tags like `ID_RECALC_POINT_CACHE` e.g. makes usage of
point caches impossible with liboverrides (since it would systematically
invalidate all cache on file load).

In theory we should not have to tag anything here in fact, RNA accessors
are supposed to take care of it, but for now we keep the
`ID_RECALC_COPY_ON_WRITE` one.

Part of first step of T82503: support disk cache in liboverrides.
December 19, 2020, 04:00 (GMT)
LibOverride: Make PointCache RNA properties overridable.

Note that due to convoluted layout of point caches in RNA (active one
also storing list of all available ones), we'll often have the
pointcache overrides rules twice. Should not be a huge problem,
practically speaking.

Part of first step of T82503: support disk cache in liboverrides.
December 19, 2020, 04:00 (GMT)
Ceres: Update to upstream version 2.0.0

We already were using one of earlier RC of the library, so there is no
expected big changes. Just making the update official, using official
version and stating it in the readme file.
December 19, 2020, 04:00 (GMT)
CMake: Extend strict flags cancellation flags

Becomes rather annoying to duplicate them across C/C++ GCC/Clang sets,
almost as if the test should test both C and C++, and to do it for all
compilers.

Solves strict warning in the upstream of Ceres library.
December 19, 2020, 04:00 (GMT)
Revert "Codesign: Versioning code to support older branches"

This reverts commit 9d172f007eeb5ade5ddad03e1f71fa4c373855f8.

Got a second thought and remembered why it was not done in the first place.
The issue here is that the server needs to communicate codesign result back
and that must happen within the new protocol. So if the client talks old
protocol it is possible to receieve data from it, but is not possible to
communicate result back to it.
December 19, 2020, 04:00 (GMT)
Cleanup: use IMB_FTYPE_NONE instead of 0 for imbuf format comparison

Image format code checked the file type against an enum except for
zero which is used when the format can't be detected.

Also add doc-strings to some of the image file type callbacks.
December 19, 2020, 04:00 (GMT)
Fix building after 2e53b646f6f02ab112e0823b9577ff2e1920faaeq
December 19, 2020, 04:00 (GMT)
GPencil: Remove "angle_split" from Multiply modifier.
December 19, 2020, 04:00 (GMT)
Outliner: Fix memory errors in runtime data

Fix a heap-use-after-free when duplicating outliner editors, and fully
free runtime data when freeing outliner editors.
December 19, 2020, 04:00 (GMT)
GPencil: Missing initialization in previous commit

December 19, 2020, 03:59 (GMT)
Object: show preview plane for add-object tool

The orientation & depth settings are used to show the preview plane
that is used when adding the object.
December 19, 2020, 03:59 (GMT)
Codesign: Versioning code to support older branches

Turns out it is easier to have suboptimal versioning code on the server
side than to deal with branches where changes are to be merged into.
December 19, 2020, 03:59 (GMT)
refactor vec_roll_to_mat3_normalized() for clarity

the function vec_roll_to_mat3_normalized() has a bug as described in T82455. This Differential is only for refactoring the code such that it becomes more clear what the function does and how the bug can be fixed. This differential is supposed to not introduce any functional changes.

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D9410
December 19, 2020, 03:59 (GMT)
Fix CalculateStandardDeviationOperation incorrect results for R G B channels

Standard deviation formula wasn't being applied correctly when selecting
R G B cases. Issue is there since Blender 2.64 as it was incorrectly
ported over from the previous compositor.

Reviewed By: Sergey Sharybin, Jeroen Bakker

Differential Revision: https://developer.blender.org/D9384
December 19, 2020, 03:59 (GMT)
Add An Opacity Slider to Overlay Wireframe

This patch adds an opacity slider to the wireframe overlay. The previous
wireframe in dense geometry scenes could be too dark and sometimes the
user just wants an impression of the geometry during modelling.

Reviewed By: Jeroen Bakker

Differential Revision: https://developer.blender.org/D7622
December 19, 2020, 03:59 (GMT)
UI: make add object tool experimental

Some changes here are planned which need feedback from users before
declaring this ready for the next release.
December 19, 2020, 03:59 (GMT)
BLI_math: add floor_power_of_10, ceil_power_of_10

Add utility functions to get the floor/ceiling of a float value
to the next power of 10.
December 19, 2020, 03:59 (GMT)
Cleanup: Remove unecessary logic in panel code

Also use short for panel flag arguments to functions since it matches
the type in DNA, and remove a comment that isn't helpful.
December 19, 2020, 03:59 (GMT)
Cleanup: Simplify panel activate state function

This commit moves some of the logic around so that the logic in
panel_activate_state is clearly separated by the state being activated.
There are fewer nested and redundant checks, and it's easier to see
the progression of interaction with the panel handler.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021