Blender Git Commits

Blender Git "master" branch commits.

Page: 724 / 5574

June 16, 2020, 16:12 (GMT)
Buildbot: Cleanup, typo in logging
June 16, 2020, 16:03 (GMT)
Fix issue with uint in headers in recent own commit.

Would break on some systems/compilers...
Revision 1665218 by Bastien Montagne
June 16, 2020, 15:40 (GMT)
Fix (unreported) wrong size of UserPreferences' `dupflag` parameter.

Adding volume obdata option to `eDupli_ID_Flags` enum made it go beyond
the 16 bits of a short... Also, enums should typically be stored in
unsigned integers.
Revision 94fba47 by Bastien Montagne
June 16, 2020, 15:40 (GMT)
Cleanup: use explicit enum type for duplicate option of `BKE_object_duplicate`

Using enum type itself in implementations, and uint in headers (as using
enums types in headers is a pain when enum are not defined and used in a
single same header file...).
Revision 9e30711 by Bastien Montagne
June 16, 2020, 15:40 (GMT)
Cleanup: remove hierarchy parameter from `BKE_collection_duplicate`

It makes no sense to deep-copy a collection and not also copy its
children collections... Parameter was not used anymore anyway.

So now this duplicate function will always at least deep-duplicate all
of its children collections, recursively.
June 16, 2020, 15:40 (GMT)
Cleanup: get rid of `BKE_collection_copy`.

We want to get rid of those for all ID types ultimately, but that one
was only used in one place, being the only one calling
`BKE_collection_duplicate` without hierarchical duplicate and parent
collection pointer, effectively using the full power of the complex deep
duplication code for a mere `BKE_id_copy` call...

This will allow for further cleanup in duplicate code.
June 16, 2020, 15:17 (GMT)
Refactor: move .blend read/write of mesh deform modifier to MOD_meshdeform.c
June 16, 2020, 15:04 (GMT)
Cleanup: remove unnecessary indirection for .blend read/write of curvemapping
June 16, 2020, 14:59 (GMT)
Refactor: Move curvemapping .blend read/write to blenkernel

This is necessary so that it can be accessed from `blendWrite`
and `blendRead` callbacks from modifiers.
June 16, 2020, 14:35 (GMT)
Functions: Multi Function

This adds the `MultiFunction` type and some smallish utility types that it uses.
A `MultiFunction` encapsulates a function that is optimized for throughput by
always processing many elements at once.

This is an important part of the new particle system, because it allows us to
execute user generated node trees for many particles efficiently.

Reviewers: brecht

Differential Revision: https://developer.blender.org/D8030
June 16, 2020, 14:17 (GMT)
Fix bitscan_reverse_uint on MSVC compiler

Was a mistake from the very beginning of implementation.
June 16, 2020, 14:17 (GMT)
Buildbot: Switch WIndows builds to MSVC 2019
June 16, 2020, 13:28 (GMT)
GPencil: Convert and Bake mesh animation to grease pencil strokes

This patch adds two options:

- Convert a mesh to grease pencil strokes.
- Bake the mesh animation into grease pencil strokes.

Both are related and must be included in the same patch.

Related to tasks: T77629 and T77630

Notice: The conversion is done for mesh edges and it's not considering any visibility clipping. All edges are exported, no matters if it's visible or not.

Example of Convert a Mesh to Grease Pencil strokes:

{F8606028}

This conversion was inspired by the technique used by @luamono in this tweet: https://twitter.com/luamono/status/1239983662176841730

Example of Bake Animation (the video is a little outdate, but the basic functionality is the same, only small changes in UI):

{F8606032}

Reviewed By: mendio, pepeland

Maniphest Tasks: T77629, T77630

Differential Revision: https://developer.blender.org/D7983
June 16, 2020, 12:36 (GMT)
Fix T77803: IK Degrees of freedom drawing glitch

IK degrees of freedom is rendered using wires and a solid sphere. The
solid used the wireframe drawing what resulted into drawing glitches.
This patch adds a new shader to draw the solid shape.

Reviewed By: Cl�ment Foucault

Differential Revision: https://developer.blender.org/D8044
June 16, 2020, 12:08 (GMT)
Buildbot: Support multiple workers talking to single codesign server

Is achieved by replacing hard-coded signed/unsigned file names with
"<uuid>" which acts as a "request ID". This way multiple workers can
put their requests into a single directory without collisions. The
code sign server will handle the requests sequentially in an unknown
order.
June 16, 2020, 10:24 (GMT)
Buildbot: Don't use builder name in the build directory

The directory layout on worker goes as following:

<Worker>
<Builder Name>
blender.git/
build/
install/
lib/

Adding an extra <Builder Name> after build is redundant.

Differential Revision: https://developer.blender.org/D8045
June 16, 2020, 10:22 (GMT)
CMake: Fix compilation errors related on missing dna_type_offsets.h

Some of the files were (indirectly) using dna_type_offsets.h without
adding dependency from bf_dna (which is needed to ensure the file is
generated prior to library compilation).
June 16, 2020, 10:16 (GMT)
BLI: fix Map.foreach_item method
June 16, 2020, 06:59 (GMT)
Cleanup: unused headers, spelling
June 16, 2020, 06:45 (GMT)
Fix T61777: Proportional editing doesn't work with multi edit-mode
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021