Blender Git Commits

Blender Git "temp_test_sc_keymap" branch commits.

Page: 38 / 43

November 7, 2020, 10:53 (GMT)
Refactor: move Scene .blend expand to IDTypeInfo callback
November 7, 2020, 10:53 (GMT)
Cleanup: Clang-Tidy, modernize-use-bool-literals
November 7, 2020, 10:53 (GMT)
Refactor: move Scene .blend lib reading to IDTypeInfo callback
November 7, 2020, 10:53 (GMT)
CMake: Fix wrong library used for dependency

Was causing compilation failure on fresh builds.
November 7, 2020, 10:53 (GMT)
Cleanup: rename time related variables

Variables renaned:
- cfra -> timeline_frame
- nr -> frame index
- cfra_over -> overlap_frame

Function seq_give_stripelem_index was renamed to seq_give_frame_index.
November 7, 2020, 10:53 (GMT)
Blenloader: access report list via api
November 7, 2020, 10:53 (GMT)
Blenloader: expose BLO_reportf_wrap in api

This function is used by a couple of functions that are moved out of blenloader.
November 7, 2020, 10:53 (GMT)
Cleanup: Fluid engine API return types

Use bool return type where possible instead of int (the return values from fluid object are already boolean instead of int).

Also removed several if guards in API functions. If one of the arguments is in fact invalid / nullptr (should not happen though), it better to catch them directly where they failed and not silently escape them.
November 7, 2020, 10:53 (GMT)
Cleanup: Clang-Tidy, modernize-redundant-void-arg
November 7, 2020, 10:53 (GMT)
Refactor: move color settings .blend I/O to blenkernel

Ref T76372.
November 7, 2020, 10:53 (GMT)
Fix compilation error when building from scratch

Make sure the DNA offset files is ready at a time bf_windowmanager
need it.
November 7, 2020, 10:53 (GMT)
Fix compilation error of bf_draw

Similar to previous commit, missing build dependency.
November 7, 2020, 10:53 (GMT)
Refactor: move Paint lib linking to blenkernel

Ref T76372.
November 7, 2020, 10:53 (GMT)
Cleanup: remove unnecessary function
November 7, 2020, 10:53 (GMT)
Cleanup: Clang-Tidy, modernize-use-emplace
November 7, 2020, 10:53 (GMT)
Refactor: move remaining ViewLayer .blend I/O to blenkernel

Ref T76372.
November 7, 2020, 10:53 (GMT)
Refactor: move sequencer modifier .blend I/O to sequencer module

Ref T76372.
November 7, 2020, 10:53 (GMT)
Refactor: move LightCache .blend I/O to eevee_lightcache.c

Ref T76372.
November 7, 2020, 10:53 (GMT)
Cleanup: Alembic, simplify expression

Change `1 + current_mat++` to `++current_mat`.

No functional changes.
November 7, 2020, 10:53 (GMT)
Cleanup: Alembic, simplify material assignment code

Refactor material assignment code such that:
- `build_mat_map()` just returns the built map (instead of relying on
modifying a map passed as parameter),
- `LISTBASE_FOREACH` is used to loop over a `ListBase` (instead of a
hand-crafted for-loop),
- just `return` when not enough material slots can be created (instead
of setting a boolean to false, then doing some useless work, then
checking the boolean),
- reorder some code for clarity, and
- rename `mat_map` to `matname_to_material` so that the semantics are
clearer.

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