Cleanup: spelling
This commit is contained in:
parent
d26b746e36
commit
b866100c1f
|
@ -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) {
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue