diff --git a/source/blender/blenkernel/intern/armature.cc b/source/blender/blenkernel/intern/armature.cc index b5e24b2f7fb..fa852ad1ab9 100644 --- a/source/blender/blenkernel/intern/armature.cc +++ b/source/blender/blenkernel/intern/armature.cc @@ -1907,8 +1907,8 @@ void BKE_armature_mat_pose_to_bone_ex(Depsgraph *depsgraph, { bPoseChannel work_pchan = blender::dna::shallow_copy(*pchan); - /* recalculate pose matrix with only parent transformations, - * bone loc/sca/rot is ignored, scene and frame are not used. */ + /* Recalculate pose matrix with only parent transformations, + * bone location/scale/rotation is ignored, scene and frame are not used. */ BKE_pose_where_is_bone(depsgraph, nullptr, ob, &work_pchan, 0.0f, false); /* Find the matrix, need to remove the bone transforms first so this is calculated diff --git a/source/blender/blenkernel/intern/fcurve.cc b/source/blender/blenkernel/intern/fcurve.cc index a7f4a87795d..a33379fe507 100644 --- a/source/blender/blenkernel/intern/fcurve.cc +++ b/source/blender/blenkernel/intern/fcurve.cc @@ -1370,7 +1370,7 @@ void sort_time_fcurve(FCurve *fcu) /* Loop over ALL points to adjust position in array and recalculate handles. */ for (a = 0, bezt = fcu->bezt; a < fcu->totvert; a++, bezt++) { - /* Check if thee's a next beztriple which we could try to swap with current. */ + /* Check if there's a next beztriple which we could try to swap with current. */ if (a < (fcu->totvert - 1)) { /* Swap if one is after the other (and indicate that order has changed). */ if (bezt->vec[1][0] > (bezt + 1)->vec[1][0]) { diff --git a/source/blender/blenkernel/intern/writeavi.cc b/source/blender/blenkernel/intern/writeavi.cc index aeab3c64e8e..42d38b1a219 100644 --- a/source/blender/blenkernel/intern/writeavi.cc +++ b/source/blender/blenkernel/intern/writeavi.cc @@ -251,11 +251,11 @@ static int append_avi(void *context_v, return 0; } - /* note that libavi free's the buffer... stupid interface - zr */ + /* NOTE(@zr): that LIBAVI free's the buffer (stupid interface). */ rectot = static_cast(MEM_mallocN(rectx * recty * sizeof(int), "rectot")); rt1 = rectot; rt2 = (uint *)pixels + (recty - 1) * rectx; - /* flip y and convert to abgr */ + /* Flip Y and convert to ABGR. */ for (y = 0; y < recty; y++, rt1 += rectx, rt2 -= rectx) { memcpy(rt1, rt2, rectx * sizeof(int)); diff --git a/source/blender/editors/asset/intern/asset_indexer.cc b/source/blender/editors/asset/intern/asset_indexer.cc index c75eacfc7f6..bd42ea43390 100644 --- a/source/blender/editors/asset/intern/asset_indexer.cc +++ b/source/blender/editors/asset/intern/asset_indexer.cc @@ -486,7 +486,7 @@ struct AssetLibraryIndex { /** * \brief Absolute path where the indices of `library` are stored. * - * \NOTE: includes trailing directory separator. + * \note includes trailing directory separator. */ std::string indices_base_path; diff --git a/source/blender/render/intern/engine.cc b/source/blender/render/intern/engine.cc index 10755a55fc3..a383285de63 100644 --- a/source/blender/render/intern/engine.cc +++ b/source/blender/render/intern/engine.cc @@ -1229,7 +1229,7 @@ bool RE_engine_draw_acquire(Render *re) RenderEngine *engine = re->engine; if (!engine) { - /* \No engine-side drawing if the engine does not exist. */ + /* No engine-side drawing if the engine does not exist. */ return false; } diff --git a/source/blender/sequencer/intern/iterator.cc b/source/blender/sequencer/intern/iterator.cc index c9c7d1d80a8..13bede9cbaf 100644 --- a/source/blender/sequencer/intern/iterator.cc +++ b/source/blender/sequencer/intern/iterator.cc @@ -27,7 +27,7 @@ #include "render.h" /* -------------------------------------------------------------------- */ -/** \Iterator API +/** \name Iterator API * \{ */ bool SEQ_iterator_ensure(SeqCollection *collection, SeqIterator *iterator, Sequence **r_seq) diff --git a/source/blender/windowmanager/intern/wm_files.cc b/source/blender/windowmanager/intern/wm_files.cc index 1d29e08c1cf..95621329cd6 100644 --- a/source/blender/windowmanager/intern/wm_files.cc +++ b/source/blender/windowmanager/intern/wm_files.cc @@ -751,7 +751,7 @@ static void wm_file_read_post(bContext *C, const wmFileReadPost_Params *params) } if (use_data) { - /* important to do before nullptr'ing the context */ + /* Important to do before nulling the context. */ BKE_callback_exec_null(bmain, BKE_CB_EVT_VERSION_UPDATE); if (is_factory_startup) { BKE_callback_exec_null(bmain, BKE_CB_EVT_LOAD_FACTORY_STARTUP_POST); diff --git a/source/blender/windowmanager/xr/intern/wm_xr.cc b/source/blender/windowmanager/xr/intern/wm_xr.cc index 5da7db99842..a05dea9ab6c 100644 --- a/source/blender/windowmanager/xr/intern/wm_xr.cc +++ b/source/blender/windowmanager/xr/intern/wm_xr.cc @@ -162,7 +162,7 @@ void wm_xr_runtime_data_free(wmXrRuntimeData **runtime) /* We free all runtime XR data here, so if the context is still alive, destroy it. */ if ((*runtime)->context != nullptr) { GHOST_XrContextHandle context = (*runtime)->context; - /* Prevent recursive GHOST_XrContextDestroy() call by nullptr'ing the context pointer before + /* Prevent recursive #GHOST_XrContextDestroy() call by nulling the context pointer before * the first call, see comment above. */ (*runtime)->context = nullptr;