Blender Git Commits

Blender Git "master" branch commits.

Page: 837 / 5574

April 3, 2020, 17:27 (GMT)
Cleanup: Including "BLI_listbase.h" for LISTBASE_FOREACH macro

These headers are not needed right away, but will be in the upcoming
commit.
April 3, 2020, 17:23 (GMT)
Cleanup: Missing clang format in previous commit
Revision cfc8d73 by Pablo Dobarro
April 3, 2020, 17:17 (GMT)
Cleanup: Move all Face Set functionality to its own file
Revision 63922c5 by Julian Eisel
April 3, 2020, 16:25 (GMT)
Cleanup: Rename ExtensionRNA variables from ext to rna_ext

Makes it more clear that code using this is related to the RNA
integration of a type.
Part of T74432.

Also ran clang-format on affected files.
April 3, 2020, 15:37 (GMT)
Fluid: Refactored caching in main Mantaflow class

This refactor cleans up code for the Manta file IO. It also improves the cache 'Replay' option.
April 3, 2020, 15:37 (GMT)
Fluid: Refactored MANTA class

Refactored the caching system so that return values are no longer ignored. The aim of this refactor was to make the caching more robust.
April 3, 2020, 14:54 (GMT)
Cleanup: clarification of 'name' in BKE_idtype functions

The 'name' parameter of `BKE_idtype_idcode_from_name()`, and the `str`
parameter of `idtype_get_info_from_name()`, are expected to be the
'user visible name' of an `IDTypeInfo` struct. This is made clearer in
the code by renaming those parameters to `idtype_name` and mentioning
it in the documentation of the `BKE_idtype_idcode_from_name()`
function.

Differential Revision: https://developer.blender.org/D7317
April 3, 2020, 14:46 (GMT)
Cleanup: Animation, move AnimData API to `anim_data.c`/`BKE_anim_data.h`

The `BKE_animsys.h` and `anim_sys.c` files already had a an "AnimData
API" section. The code in that section has now been split off, and
placed into `BKE_anim_data.h` and `anim_data.c`.

All files that used to include `BKE_animsys.h` have been adjusted to
only include the animation headers they need (sometimes none).

No functional changes.
April 3, 2020, 14:29 (GMT)
Cleanup: Fix build warning with MSVC

SubdivCCG was unknown when compiling gpuinit_exit.c
April 3, 2020, 14:13 (GMT)
Fix T74495: Shrink/Fatten gives strange results with Individual Origins

The island `axismtx` is only necessary in some transform modes.

In the case of `Shrink/Fatten`, the calculated `axismtx` brings an
undesirable result.

This commit rearrange the struct `TransIslandData` in order to
calculate and reference only the arrays that will be used for each
transform mode.

Differential Revision: https://developer.blender.org/D7305
April 3, 2020, 14:07 (GMT)
New Undo: Fix crash in some complex production files.

There is no guarantee that depsgraph is ran between two undo steps, so
when re-using an existing data-block we should never wipe completly its
recalc flags, but instead complement them with new ones from accumulated
'storage' as needed.
Revision ad85989 by Julian Eisel
April 3, 2020, 12:42 (GMT)
Cleanup: Rename bScreen variables from sc/scr to screen

Part of T74432.

Mostly a careful batch rename but had to do few smaller fixes.

Also ran clang-format on affected files.
April 3, 2020, 12:28 (GMT)
Cleanup: add missing #includes to some headers

It should be possible to `#include` any header without having to worry
about its dependencies.

I didn't go and check all include files for this, just the ones that caused
me errors while I was refactoring the `anim_sys.c` file.

No functional changes.
Revision 905c026 by Julian Eisel
April 3, 2020, 11:34 (GMT)
Cleanup: Rename ScrArea variables from sa to area

Follow up of b2ee1770d4c3 and 10c2254d412d, part of T74432.
Now the area and region naming conventions should be less confusing.

Mostly a careful batch rename but had to do few smaller fixes.

Also ran clang-format on affected files.
April 3, 2020, 11:13 (GMT)
Fix T74205: crash cancelling transfrom operation in sculpt mode

Differential Revision: https://developer.blender.org/D7018
April 3, 2020, 11:13 (GMT)
Fix T75287: other Cycles render passes wrong when using Cryptomatte
April 3, 2020, 11:13 (GMT)
Fix T74572: adaptive sampling not scaling render passes correctly
Revision 10c2254 by Julian Eisel
April 3, 2020, 10:54 (GMT)
Cleanup: Continue renaming ARegion variables from ar to region

Continuation of b2ee1770d4c3, now non-single word variables are also
renamed.
Part of T74432.

Also ran clang-format on affected files.
April 3, 2020, 10:52 (GMT)
Cleanup: split ED_mesh_mirror_*_table into multiple functions

Spatial & topology mirror table each used a single function
taking a char as an identifier.

Split these into begin/end/lookup functions.
April 3, 2020, 10:13 (GMT)
Cleanup: split `BKE_anim.h` and `anim.c` into smaller pieces

The files are now split up into the following sections:
- `BKE_anim_path.h` and `anim_path.c` for path/curve functions.
- `BKE_anim_visualization.h` and `anim_visualizationanim_path.c` for
animation visualization (mostly motion paths).
- `BKE_duplilist.h` for DupliList function declarations. These were
already implemented in `object_dupli.c`, so they were rather out of
place being declared in `BKE_anim.h` in the first place.

No functional changes.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021