Blender Git Commits

Blender Git "master" branch commits.

Page: 875 / 5574

March 9, 2020, 15:56 (GMT)
Cleanup: Mask: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 15:56 (GMT)
Cleanup: MovieClip: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 15:34 (GMT)
Cleanup: Silence warnings
March 9, 2020, 15:27 (GMT)
GPencil: Refactor of Draw Engine, Vertex Paint and all internal functions

This commit is a full refactor of the grease pencil modules including Draw Engine, Modifiers, VFX, depsgraph update, improvements in operators and conversion of Sculpt and Weight paint tools to real brushes.

Also, a huge code cleanup has been done at all levels.

Thanks to @fclem for his work and yo @pepeland and @mendio for the testing and help in the development.

Differential Revision: https://developer.blender.org/D6293
March 9, 2020, 15:05 (GMT)
Depsgraph: fix crash caused by removing too many NO-OP nodes

Unused no-op operation nodes are not bound to a callback function, and
have no outgoing relations. Incoming relations of such nodes are removed
since ff60dd8b18ed00902e5bdfd36882072db7af8735. However, this was done
too broadly, causing too many relations to be lost and indirectly linked
objects to be unevaluated.

This commit introduces a `DEPSOP_FLAG_FAKE_USER` flag for operation
nodes, which indicates they are not to be removed, even when they appear
to be unused.

Reviewed By: sergey

Differential Revision: https://developer.blender.org/D7074
March 9, 2020, 15:00 (GMT)
Fix T74533: Crash when entering sculpt mode

Apparently this happened when the object is in a flat view and has
customdata `CD_SCULPT_FACE_SETS`

Differential Revision: https://developer.blender.org/D7073
March 9, 2020, 13:47 (GMT)
Cleanup: Replace ABS/SQUARE/CUBE with function calls

While it might be handy to have type-less functionality which is
similar to how C++ math is implemented it can not be easily achieved
with just preprocessor in a way which does not have side-effects on
wrong usage.

There macros where often used on a non-trivial expression, and there
was at least one usage where it was causing an actual side effect/bug
on Windows (see change around square_f(sh[index++]) in studiolight.c).

For such cases it is handy to have a function which is guaranteed to
have zero side-effects. The motivation behind actually removing the
macros is that there is already a way to do similar calculation. Also,
not having such macros is a way to guarantee that its usage is not
changed in a way which have side-effects and that it's not used as an
inspiration for cases where it should not be used.

Differential Revision: https://developer.blender.org/D7051
March 9, 2020, 13:11 (GMT)
Cleanup: clang-format
March 9, 2020, 13:02 (GMT)
Transform Snap Object: Remove depsgraph when creating context

Currently, this change does not bring functional changes.
But it is necessary to extend the use of the snap system for gizmos,
since, after a Undo, the `depsgraph` pointed by the `snap_context`
has its memory invalidated.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D7013
March 9, 2020, 11:49 (GMT)
Cleanup: ParticleSettings: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 11:49 (GMT)
Cleanup: PaintCurve: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 11:49 (GMT)
Cleanup: CacheFile: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 11:49 (GMT)
Cleanup: WorkSpace: Move to IDTypeInfo and remove unused BKE API.
March 9, 2020, 11:49 (GMT)
Cleanup: WindowManager: Move to IDTypeInfo and remove unused WM API.

Getting rid of one static 'registered' callback in BKE, yeah!
March 9, 2020, 09:44 (GMT)
Revert "Constraints: remove special meaning of Local Space for parentless Objects."

This reverts commit 7728bfd4c45c634ba6b62e149176425ec5779945.

Although this brings back an inconsistency in the behaviour of
constraints on objects and bones, people were relying on the old
behaviour, and the new behaviour broke their files.

It is still desired to remove this inconsistency, but it will happen
more gradually.
March 8, 2020, 20:31 (GMT)
Fix T74537: Fixed out of bounds memory access in Cycles' PMJ sampler.
March 8, 2020, 19:45 (GMT)
Cleanup: Sound: Move to IDTypeInfo and remove unused BKE API.
March 8, 2020, 19:10 (GMT)
Cleanup: Speaker: Move to IDTypeInfo and remove unused BKE API.
March 8, 2020, 16:14 (GMT)
Install_deps: fix wrong `XR_OPENXR_ROOT_DIR` parameter for CMake.

Should be `XR_OPENXR_SDK_ROOT_DIR`.`
March 8, 2020, 13:43 (GMT)
Fix T74395: Box interpolation does not support repeat extrapolation

Reviewers: fclem

Differential Revision: https://developer.blender.org/D7009
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021