Cleanup: spelling, correct doc-string arguments
This commit is contained in:
parent
bcb9e8e1a7
commit
10a54bbd06
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user