Cleanup: corrections to comments & typos
This commit is contained in:
@@ -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;
|
||||
|
||||
/** \} */
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -2164,8 +2164,8 @@ static std::optional<int> 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<int> 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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user