Cleanup: spelling
This commit is contained in:
parent
12d8720b9b
commit
888a697e24
|
@ -561,7 +561,7 @@ void BlenderSync::sync_objects(BL::Depsgraph &b_depsgraph,
|
|||
sync_background_light(b_v3d, use_portal);
|
||||
|
||||
/* Handle removed data and modified pointers, as this may free memory, delete Nodes in the
|
||||
* right order to ensure that dependant data is freed after their users. Objects should be
|
||||
* right order to ensure that dependent data is freed after their users. Objects should be
|
||||
* freed before particle systems and geometries. */
|
||||
light_map.post_sync();
|
||||
object_map.post_sync();
|
||||
|
|
|
@ -35,7 +35,7 @@ using namespace Alembic::AbcGeom;
|
|||
|
||||
CCL_NAMESPACE_BEGIN
|
||||
|
||||
/* TODO(@kevindietrich): motion blur support */
|
||||
/* TODO(kevindietrich): motion blur support. */
|
||||
|
||||
template<typename SchemaType>
|
||||
static vector<FaceSetShaderIndexPair> parse_face_sets_for_shader_assignment(
|
||||
|
|
|
@ -416,7 +416,10 @@ typedef enum {
|
|||
GHOST_kGrabNormal,
|
||||
/** Wrap the mouse location to prevent limiting screen bounds. */
|
||||
GHOST_kGrabWrap,
|
||||
/** Hide the mouse while grabbing and restore the original location on release (numbuts). */
|
||||
/**
|
||||
* Hide the mouse while grabbing and restore the original location on release
|
||||
* (used for number buttons and some other draggable UI elements).
|
||||
*/
|
||||
GHOST_kGrabHide,
|
||||
} GHOST_TGrabCursorMode;
|
||||
|
||||
|
|
|
@ -427,7 +427,7 @@ static void gpencil_vfx_glow(GlowShaderFxData *fx, Object *UNUSED(ob), gpIterVfx
|
|||
float ref_col[4];
|
||||
|
||||
if (fx->mode == eShaderFxGlowMode_Luminance) {
|
||||
/* Only pass in the first value for luminace. */
|
||||
/* Only pass in the first value for luminance. */
|
||||
ref_col[0] = fx->threshold;
|
||||
ref_col[1] = -1.0f;
|
||||
ref_col[2] = -1.0f;
|
||||
|
|
|
@ -403,7 +403,7 @@ uiPopupMenu *UI_popup_menu_begin_ex(bContext *C,
|
|||
pup->layout = UI_block_layout(
|
||||
pup->block, UI_LAYOUT_VERTICAL, UI_LAYOUT_MENU, 0, 0, 200, 0, UI_MENU_PADDING, style);
|
||||
|
||||
/* note, this intentionally differs from the menu & submenu default because many operators
|
||||
/* note, this intentionally differs from the menu & sub-menu default because many operators
|
||||
* use popups like this to select one of their options -
|
||||
* where having invoke doesn't make sense */
|
||||
uiLayoutSetOperatorContext(pup->layout, WM_OP_EXEC_REGION_WIN);
|
||||
|
|
|
@ -111,7 +111,7 @@ class FrameBuffer {
|
|||
|
||||
public:
|
||||
/* Reference of a pointer that needs to be cleaned when deallocating the frame-buffer.
|
||||
* Points to BPyGPUFrameBuffer::fb */
|
||||
* Points to #BPyGPUFrameBuffer::fb */
|
||||
void **ref = nullptr;
|
||||
|
||||
public:
|
||||
|
|
|
@ -817,7 +817,7 @@ static void ffmpeg_postprocess(struct anim *anim)
|
|||
|
||||
# if defined(__x86_64__) || defined(_M_X64)
|
||||
/* Scale and flip image over Y axis in one go, using negative strides.
|
||||
* This doesn't work with arm/powerpc though and may be misusing the API.
|
||||
* This doesn't work with ARM/PowerPC though and may be misusing the API.
|
||||
* Limit it x86_64 where it appears to work.
|
||||
* http://trac.ffmpeg.org/ticket/9060 */
|
||||
int *dstStride = anim->pFrameRGB->linesize;
|
||||
|
|
Loading…
Reference in New Issue