diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-10-29 13:38:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-10-29 13:38:40 +0300 |
commit | b866100c1f63f8cc62c7674d20a417b7a42812cf (patch) | |
tree | 5acefe4f203852d149b712f7ab9d75ff61bcade9 | |
parent | d26b746e3670b1dcf1ea6cd8ea5a085aaef46141 (diff) |
Cleanup: spelling
-rw-r--r-- | source/blender/blenloader/intern/versioning_290.c | 2 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_trace_ops.c | 6 | ||||
-rw-r--r-- | source/blender/editors/interface/interface.c | 8 |
3 files changed, 9 insertions, 7 deletions
diff --git a/source/blender/blenloader/intern/versioning_290.c b/source/blender/blenloader/intern/versioning_290.c index c3b85a011db..37987b2c31d 100644 --- a/source/blender/blenloader/intern/versioning_290.c +++ b/source/blender/blenloader/intern/versioning_290.c @@ -947,7 +947,7 @@ void blo_do_versions_290(FileData *fd, Library *UNUSED(lib), Main *bmain) new_refine_camera_intrinsics |= REFINE_PRINCIPAL_POINT; } - /* The end goal is to enable radial distorion refinement if either K1 or K2 were set for + /* The end goal is to enable radial distortion refinement if either K1 or K2 were set for * refinement. It is enough to only check for L1 it was not possible to refine K2 without * K1. */ if (settings->refine_camera_intrinsics & LEGACY_REFINE_RADIAL_DISTORTION_K1) { diff --git a/source/blender/editors/gpencil/gpencil_trace_ops.c b/source/blender/editors/gpencil/gpencil_trace_ops.c index b68acd091c2..2d04c31e60d 100644 --- a/source/blender/editors/gpencil/gpencil_trace_ops.c +++ b/source/blender/editors/gpencil/gpencil_trace_ops.c @@ -102,8 +102,8 @@ typedef struct TraceJob { /** * Trace a image. - * \param ibuf: Image Ibuffer - * \param gpf: Destination frame + * \param ibuf: Image buffer. + * \param gpf: Destination frame. */ static bool gpencil_trace_image(TraceJob *trace_job, ImBuf *ibuf, bGPDframe *gpf) { @@ -281,7 +281,7 @@ static void trace_end_job(void *customdata) { TraceJob *trace_job = customdata; - /* If canceled, delete all previously created object and datablock. */ + /* If canceled, delete all previously created object and data-block. */ if ((trace_job->was_canceled) && (trace_job->was_ob_created) && (trace_job->ob_gpencil)) { bGPdata *gpd = trace_job->ob_gpencil->data; BKE_id_delete(trace_job->bmain, &trace_job->ob_gpencil->id); diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 659ebfa4a39..db3bbc8a128 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -928,9 +928,11 @@ static bool ui_but_update_from_old_block(const bContext *C, return found_active; } -/* needed for temporarily rename buttons, such as in outliner or file-select, - * they should keep calling uiDefButs to keep them alive */ -/* returns 0 when button removed */ +/** + * Needed for temporarily rename buttons, such as in outliner or file-select, + * they should keep calling #uiDefBut to keep them alive. + * \return false when button removed. + */ bool UI_but_active_only_ex( const bContext *C, ARegion *region, uiBlock *block, uiBut *but, const bool remove_on_failure) { |