diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h index 660ec967bb2..b165bf8887c 100644 --- a/source/blender/makesdna/DNA_scene_types.h +++ b/source/blender/makesdna/DNA_scene_types.h @@ -2361,7 +2361,7 @@ enum { extern const char *RE_engine_id_BLENDER_EEVEE; extern const char *RE_engine_id_BLENDER_WORKBENCH; extern const char *RE_engine_id_CYCLES; -/* Only used for versionning. Was used during the transition period between 4.2 and 5.0. */ +/** Only used for versioning. Was used during the transition period between 4.2 and 5.0. */ extern const char *RE_engine_id_BLENDER_EEVEE_NEXT; /** \} */ diff --git a/source/blender/python/generic/blf_py_api.cc b/source/blender/python/generic/blf_py_api.cc index d56ef1549d4..9088aeb6fc7 100644 --- a/source/blender/python/generic/blf_py_api.cc +++ b/source/blender/python/generic/blf_py_api.cc @@ -5,7 +5,7 @@ /** \file * \ingroup pygen * - * This file defines the `bgl` module, used for drawing text in OpenGL. + * This file defines the `blf` module, used for drawing text to the GPU or image buffers. */ /* Future-proof, See https://docs.python.org/3/c-api/arg.html#strings-and-buffers */ diff --git a/source/blender/windowmanager/intern/wm_playanim.cc b/source/blender/windowmanager/intern/wm_playanim.cc index 09c342a4342..7b482be5cd4 100644 --- a/source/blender/windowmanager/intern/wm_playanim.cc +++ b/source/blender/windowmanager/intern/wm_playanim.cc @@ -2164,8 +2164,8 @@ static std::optional wm_main_playanim_intern(int argc, const char **argv, P g_audaspace.source = nullptr; #endif - /* We still miss freeing a lot! - * But many areas could skip initialization too for anim play. */ + /* Free subsystems the animation player is responsible for starting. + * The rest is handled by #BKE_blender_atexit, see early-exit logic in `creator.cc`. */ BLF_exit(); @@ -2187,11 +2187,10 @@ static std::optional wm_main_playanim_intern(int argc, const char **argv, P GHOST_DisposeSystem(ps.ghost_data.system); - /* Early exit, IMB and BKE should be exited only in end. */ if (ps.argv_next) { args_next->argc = ps.argc_next; args_next->argv = ps.argv_next; - /* No exit code, keep running. */ + /* Returning none, run this function again with the *next* arguments. */ return std::nullopt; } diff --git a/source/creator/creator_args.cc b/source/creator/creator_args.cc index ab4752f9b6c..b9cd58d3ae0 100644 --- a/source/creator/creator_args.cc +++ b/source/creator/creator_args.cc @@ -1978,7 +1978,7 @@ static int arg_handle_engine_set(int argc, const char **argv, void *data) else { Scene *scene = CTX_data_scene(C); if (scene) { - /* Backwards compatibiltiy. */ + /* Backwards compatibility. */ if (STREQ(engine_name, "BLENDER_EEVEE_NEXT")) { engine_name = "BLENDER_EEVEE"; }