Note: This is an archived version of the Blender Developer Wiki (archived 2024). The current developer documentation is available on developer.blender.org/docs.
User:Sybren/Code Quality Day ideas
Code Quality Day ideas
Ideas
- Finish work on the
modernize-loop-convert
Clang-Tidy rule - Continue https://developer.blender.org/T74506
- Move auto-keying code into a separate C file, such that the related code sits together instead of strewn across multiple C files. Or at least document what can be found where.
- Split
ed_screen_context()
into separate functions, or at least refactor to use early returns. - Move keyframe-insertion code from
editors
toblenkernel
. - Split
splineik_evaluate_bone()
into separate functions. - Rename
BKE_scene_get_depsgraph()
toBKE_scene_get_viewport_depsgraph()
- Deprecate
SELECT
and remove#define SELECT 1
from various places in the code. - Split up
pyrna_py_to_prop
After the new Alembic exporter has been merged into master
- USD/Alembic: replace
HierarchyContext &
withHierarchyContext *
.
Done
- Properly describe action baking in the manual.
ANIM_apply_keyingset()
has ashort success
variable (which is strange to begin with, assuccess
is usually a boolean and not a quantity). The value returned byreturn success;
is then later also compared to constants with values-1
and-2
. To summarize:bool
,short
, andenum
are all combined into one variable. Found this while investigating T73773.- Document
bpy.msgbus
: - USD/Alembic: refactor code to replace
std
containers withBLI
ones: not worth the effort as the Alembic library needsstd::vector
andblender::Map
has slightly different memory management than itsstd
counterpart, causing other issues with the Alembic library.