Cleanup: spelling
This commit is contained in:
parent
c154f265de
commit
d52326bab3
|
@ -738,7 +738,7 @@ extern GHOST_TSuccess GHOST_ActivateOpenGLContext(GHOST_ContextHandle contexthan
|
|||
extern GHOST_TSuccess GHOST_ReleaseOpenGLContext(GHOST_ContextHandle contexthandle);
|
||||
|
||||
/**
|
||||
* Get the OpenGL framebuffer handle that serves as a default framebuffer.
|
||||
* Get the OpenGL frame-buffer handle that serves as a default frame-buffer.
|
||||
*/
|
||||
extern unsigned int GHOST_GetContextDefaultOpenGLFramebuffer(GHOST_ContextHandle contexthandle);
|
||||
|
||||
|
@ -750,7 +750,7 @@ extern unsigned int GHOST_GetContextDefaultOpenGLFramebuffer(GHOST_ContextHandle
|
|||
extern int GHOST_isUpsideDownContext(GHOST_ContextHandle contexthandle);
|
||||
|
||||
/**
|
||||
* Get the OpenGL framebuffer handle that serves as a default framebuffer.
|
||||
* Get the OpenGL frame-buffer handle that serves as a default frame-buffer.
|
||||
*/
|
||||
extern unsigned int GHOST_GetDefaultOpenGLFramebuffer(GHOST_WindowHandle windwHandle);
|
||||
|
||||
|
@ -1060,7 +1060,7 @@ void GHOST_XrSessionDrawViews(GHOST_XrContextHandle xr_context, void *customdata
|
|||
int GHOST_XrSessionIsRunning(const GHOST_XrContextHandle xr_context);
|
||||
|
||||
/**
|
||||
* Check if \a xr_context has a session that requrires an upside-down framebuffer (compared to
|
||||
* Check if \a xr_context has a session that requires an upside-down frame-buffer (compared to
|
||||
* OpenGL). If true, the render result should be flipped vertically for correct output.
|
||||
* \note: Only to be called after session start, may otherwise result in a false negative.
|
||||
*/
|
||||
|
|
|
@ -218,8 +218,8 @@ typedef struct SubdivCCG {
|
|||
|
||||
/* Create CCG representation of subdivision surface.
|
||||
*
|
||||
* NOTE: CCG stores dense verticies in a grid-like storage. There is no edges or
|
||||
* polygons informations for the high-poly surface.
|
||||
* NOTE: CCG stores dense vertices in a grid-like storage. There is no edges or
|
||||
* polygons information's for the high-poly surface.
|
||||
*
|
||||
* NOTE: Subdiv is expected to be refined and ready for evaluation.
|
||||
* NOTE: CCG becomes an owner of subdiv.
|
||||
|
|
|
@ -34,10 +34,10 @@ struct Mesh;
|
|||
struct Subdiv;
|
||||
|
||||
/* Special version of subdivision surface which calculates final positions for coarse vertices.
|
||||
* Effectively is pushsing the coarse positions to the limit surface.
|
||||
* Effectively is pushing the coarse positions to the limit surface.
|
||||
*
|
||||
* One of the usage examples is calculation of crazy space of subdivision modifier, allowing to
|
||||
* paint on a deformed mesh with subsurf on it.
|
||||
* paint on a deformed mesh with sub-surf on it.
|
||||
*
|
||||
* vertex_cos are supposed to hold coordinates of the coarse mesh. */
|
||||
void BKE_subdiv_deform_coarse_vertices(struct Subdiv *subdiv,
|
||||
|
|
|
@ -1880,7 +1880,7 @@ bool BKE_subdiv_foreach_subdiv_geometry(Subdiv *subdiv,
|
|||
* the tasks into it.
|
||||
* NOTE: Watch out for callbacks which needs to run for loose geometry as they
|
||||
* currently are relying on the fact that face/grid callbacks will tag non-
|
||||
* loose geomtry. */
|
||||
* loose geometry. */
|
||||
|
||||
BLI_task_parallel_range(
|
||||
0, coarse_mesh->totpoly, &ctx, subdiv_foreach_task, ¶llel_range_settings);
|
||||
|
|
|
@ -2818,9 +2818,9 @@ static void write_scene(WriteData *wd, Scene *sce, const void *id_address)
|
|||
static void write_gpencil(WriteData *wd, bGPdata *gpd, const void *id_address)
|
||||
{
|
||||
if (gpd->id.us > 0 || wd->use_memfile) {
|
||||
/* Clean up, important in undo case to reduce false detection of changed datablocks. */
|
||||
/* XXX not sure why the whole runtime data is not cleared in readcode, for now mimicking it
|
||||
* here. */
|
||||
/* Clean up, important in undo case to reduce false detection of changed data-blocks. */
|
||||
/* XXX not sure why the whole run-time data is not cleared in reading code,
|
||||
* for now mimicking it here. */
|
||||
gpd->runtime.sbuffer = NULL;
|
||||
gpd->runtime.sbuffer_used = 0;
|
||||
gpd->runtime.sbuffer_size = 0;
|
||||
|
|
|
@ -353,7 +353,7 @@ static void annotation_draw_stroke_2d(const bGPDspoint *points,
|
|||
|
||||
/* Tessellation code - draw stroke as series of connected quads
|
||||
* (triangle strips in fact) with connection edges rotated to minimize shrinking artifacts,
|
||||
* and rounded endcaps.
|
||||
* and rounded end-caps.
|
||||
*/
|
||||
{
|
||||
const bGPDspoint *pt1, *pt2;
|
||||
|
|
|
@ -409,7 +409,7 @@ static int voxel_size_edit_modal(bContext *C, wmOperator *op, const wmEvent *eve
|
|||
d = d * 0.0005f;
|
||||
}
|
||||
else {
|
||||
/* Multiply d by the initial voxel size to prevent incontrolable speeds when using low voxel
|
||||
/* Multiply d by the initial voxel size to prevent uncontrollable speeds when using low voxel
|
||||
* sizes. */
|
||||
/* When the voxel size is slower, it needs more precision. */
|
||||
d = d * min_ff(pow2f(cd->init_voxel_size), 0.1f) * 0.05f;
|
||||
|
|
|
@ -303,7 +303,7 @@ typedef enum {
|
|||
* Is used as a storage for either original or modified geometry. */
|
||||
typedef struct SculptUndoNodeGeometry {
|
||||
/* Is used for sanity check, helping with ensuring that two and only two
|
||||
* geometry pushes happenned in the undo stack. */
|
||||
* geometry pushes happened in the undo stack. */
|
||||
bool is_initialized;
|
||||
|
||||
CustomData vdata;
|
||||
|
|
Loading…
Reference in New Issue