Cleanup: spelling, correct doc-string arguments

This commit is contained in:
Campbell Barton 2021-02-18 13:26:39 +11:00
parent bcb9e8e1a7
commit 10a54bbd06
5 changed files with 7 additions and 7 deletions

View File

@ -350,7 +350,7 @@ static void fill_generic_attribute(BL::Mesh &b_mesh,
static void attr_create_generic(Scene *scene, Mesh *mesh, BL::Mesh &b_mesh, bool subdivision)
{
if (subdivision) {
/* TODO: Handle subdivison correctly. */
/* TODO: Handle subdivision correctly. */
return;
}
AttributeSet &attributes = mesh->attributes;

View File

@ -290,7 +290,7 @@ __forceinline uint64_t bitscan(uint64_t v)
# endif /* __KERNEL_64_BIT__ */
#elif (defined(__x86_64__) || defined(__i386__)) && defined(__KERNEL_SSE2__)
/* Instrinsic functions with x86 SSE. */
/* Intrinsic functions with x86 SSE. */
__forceinline uint32_t __bsf(const uint32_t v)
{

View File

@ -476,9 +476,9 @@ void GPU_framebuffer_recursive_downsample(GPUFrameBuffer *gpu_fb,
/** \} */
/* -------------------------------------------------------------------- */
/** \name Framebuffer Stack
/** \name Frame-Buffer Stack
*
* Keeps track of framebuffer binding operation to restore previously bound frambuffers.
* Keeps track of frame-buffer binding operation to restore previously bound frame-buffers.
* \{ */
#define FRAMEBUFFER_STACK_DEPTH 16

View File

@ -4866,7 +4866,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
"Translate the names of new data-blocks (objects, materials...)");
RNA_def_property_update(prop, 0, "rna_userdef_update");
/* Statusbar. */
/* Status-bar. */
prop = RNA_def_property(srna, "show_statusbar_memory", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "statusbar_flag", STATUSBAR_SHOW_MEMORY);

View File

@ -649,8 +649,8 @@ size_t bpygpu_Buffer_size(BPyGPUBuffer *buffer)
/**
* Create a buffer object
*
* \param dimensions: An array of ndimensions integers representing the size of each dimension.
* \param initbuffer: When not NULL holds a contiguous buffer
* \param shape: An array of `shape_len` integers representing the size of each dimension.
* \param buffer: When not NULL holds a contiguous buffer
* with the correct format from which the buffer will be initialized
*/
BPyGPUBuffer *BPyGPU_Buffer_CreatePyObject(const int format,