diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/interface/eyedroppers/eyedropper_driver.c | 4 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_stroke.c | 2 | ||||
-rw-r--r-- | source/blender/gpu/GPU_context.h | 4 | ||||
-rw-r--r-- | source/blender/gpu/metal/mtl_memory.mm | 2 | ||||
-rw-r--r-- | source/blender/gpu/metal/mtl_query.mm | 4 | ||||
-rw-r--r-- | source/blender/gpu/metal/mtl_uniform_buffer.hh | 2 | ||||
-rw-r--r-- | source/blender/gpu/metal/mtl_uniform_buffer.mm | 2 | ||||
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 4 |
8 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/editors/interface/eyedroppers/eyedropper_driver.c b/source/blender/editors/interface/eyedroppers/eyedropper_driver.c index 14c00c21a5c..a9314df44a5 100644 --- a/source/blender/editors/interface/eyedroppers/eyedropper_driver.c +++ b/source/blender/editors/interface/eyedroppers/eyedropper_driver.c @@ -83,14 +83,14 @@ static void driverdropper_sample(bContext *C, wmOperator *op, const wmEvent *eve if (but == NULL) { return; } - /* Get paths for src... */ + /* Get paths for the source. */ PointerRNA *target_ptr = &but->rnapoin; PropertyRNA *target_prop = but->rnaprop; const int target_index = but->rnaindex; char *target_path = RNA_path_from_ID_to_property(target_ptr, target_prop); - /* ... and destination */ + /* Get paths for the destination. */ char *dst_path = RNA_path_from_ID_to_property(&ddr->ptr, ddr->prop); /* Now create driver(s) */ diff --git a/source/blender/editors/sculpt_paint/paint_stroke.c b/source/blender/editors/sculpt_paint/paint_stroke.c index 88e7a786a47..736942b9f72 100644 --- a/source/blender/editors/sculpt_paint/paint_stroke.c +++ b/source/blender/editors/sculpt_paint/paint_stroke.c @@ -123,7 +123,7 @@ typedef struct PaintStroke { StrokeRedraw redraw; StrokeDone done; - bool original; /* Raycast original mesh at start of stroke */ + bool original; /* Ray-cast original mesh at start of stroke. */ } PaintStroke; /*** Cursors ***/ diff --git a/source/blender/gpu/GPU_context.h b/source/blender/gpu/GPU_context.h index 9d92ea2cad9..a242bb7cc94 100644 --- a/source/blender/gpu/GPU_context.h +++ b/source/blender/gpu/GPU_context.h @@ -17,8 +17,8 @@ extern "C" { #endif -/* GPU backends abstract the differences between different APIs. GPU_context_create - * automatically initializes the backend, and GPU_context_discard frees it when there +/* GPU back-ends abstract the differences between different APIs. #GPU_context_create + * automatically initializes the back-end, and #GPU_context_discard frees it when there * are no more contexts. */ bool GPU_backend_supported(void); eGPUBackendType GPU_backend_get_type(void); diff --git a/source/blender/gpu/metal/mtl_memory.mm b/source/blender/gpu/metal/mtl_memory.mm index 48e27dd2bb6..07da489bdbb 100644 --- a/source/blender/gpu/metal/mtl_memory.mm +++ b/source/blender/gpu/metal/mtl_memory.mm @@ -68,7 +68,7 @@ gpu::MTLBuffer *MTLBufferPool::allocate_with_data(uint64_t size, bool cpu_visible, const void *data) { - /* Allocate buffer with default HW-compatible alignemnt of 256 bytes. + /* Allocate buffer with default HW-compatible alignment of 256 bytes. * See https://developer.apple.com/metal/Metal-Feature-Set-Tables.pdf for more. */ return this->allocate_aligned_with_data(size, 256, cpu_visible, data); } diff --git a/source/blender/gpu/metal/mtl_query.mm b/source/blender/gpu/metal/mtl_query.mm index 33ae8f554c3..dfda0a8de7f 100644 --- a/source/blender/gpu/metal/mtl_query.mm +++ b/source/blender/gpu/metal/mtl_query.mm @@ -104,8 +104,8 @@ void MTLQueryPool::get_occlusion_result(MutableSpan<uint32_t> r_values) BLI_assert(ctx->get_inside_frame()); } - /* Wait for GPU operatiosn to complete and for query buffer contents - * to be synchronised back to host memory. */ + /* Wait for GPU operations to complete and for query buffer contents + * to be synchronized back to host memory. */ GPU_finish(); /* Iterate through all possible visibility buffers and copy results into provided diff --git a/source/blender/gpu/metal/mtl_uniform_buffer.hh b/source/blender/gpu/metal/mtl_uniform_buffer.hh index 722d819cf96..789a85f0a92 100644 --- a/source/blender/gpu/metal/mtl_uniform_buffer.hh +++ b/source/blender/gpu/metal/mtl_uniform_buffer.hh @@ -25,7 +25,7 @@ class MTLUniformBuf : public UniformBuf { * have yet been allocated. */ bool has_data_ = false; - /* Bindstate tracking. */ + /* Bind-state tracking. */ int bind_slot_ = -1; MTLContext *bound_ctx_ = nullptr; diff --git a/source/blender/gpu/metal/mtl_uniform_buffer.mm b/source/blender/gpu/metal/mtl_uniform_buffer.mm index 3415c41f2cc..4893014dedf 100644 --- a/source/blender/gpu/metal/mtl_uniform_buffer.mm +++ b/source/blender/gpu/metal/mtl_uniform_buffer.mm @@ -107,7 +107,7 @@ void MTLUniformBuf::bind(int slot) MEM_SAFE_FREE(data_); } - /* Ensure there is atleast an empty dummy buffer. */ + /* Ensure there is at least an empty dummy buffer. */ if (metal_buffer_ == nullptr) { this->update(nullptr); } diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index 04037a64426..3bcd9cd0441 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -1754,12 +1754,12 @@ static void rna_def_color_balance(BlenderRNA *brna) prop = RNA_def_property(srna, "invert_gain", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_COLOR_BALANCE_INVERSE_GAIN); - RNA_def_property_ui_text(prop, "Inverse Gain", "Invert the gain color`"); + RNA_def_property_ui_text(prop, "Inverse Gain", "Invert the gain color"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceColorBalance_update"); prop = RNA_def_property(srna, "invert_slope", PROP_BOOLEAN, PROP_NONE); RNA_def_property_boolean_sdna(prop, NULL, "flag", SEQ_COLOR_BALANCE_INVERSE_SLOPE); - RNA_def_property_ui_text(prop, "Inverse Slope", "Invert the slope color`"); + RNA_def_property_ui_text(prop, "Inverse Slope", "Invert the slope color"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_SequenceColorBalance_update"); prop = RNA_def_property(srna, "invert_offset", PROP_BOOLEAN, PROP_NONE); |