[Bf-blender-cvs] [625349a6bd0] master: Cleanup: spelling, C style comments
Campbell Barton
noreply at git.blender.org
Tue Nov 9 14:56:53 CET 2021
Commit: 625349a6bd03f9af20a7f37814c8a91b02fa7d5c
Author: Campbell Barton
Date: Wed Nov 10 00:56:17 2021 +1100
Branches: master
https://developer.blender.org/rB625349a6bd03f9af20a7f37814c8a91b02fa7d5c
Cleanup: spelling, C style comments
===================================================================
M source/blender/blenkernel/intern/mesh_convert.cc
M source/blender/editors/armature/armature_relations.c
M source/blender/editors/interface/interface_context_path.cc
M source/blender/editors/interface/interface_icons.c
===================================================================
diff --git a/source/blender/blenkernel/intern/mesh_convert.cc b/source/blender/blenkernel/intern/mesh_convert.cc
index b8fcc10be44..1769be54211 100644
--- a/source/blender/blenkernel/intern/mesh_convert.cc
+++ b/source/blender/blenkernel/intern/mesh_convert.cc
@@ -1279,7 +1279,7 @@ static void add_shapekey_layers(Mesh *mesh_dest, Mesh *mesh_src)
/**
* \param use_virtual_modifiers: When enabled calculate virtual-modifiers before applying `md_eval`
- * support this since virtual-modieirs are not modifiers from auser perspective,
+ * support this since virtual-modifiers are not modifiers from a user perspective,
* allowing shape keys to be included with the modifier being applied, see: T91923.
*/
Mesh *BKE_mesh_create_derived_for_modifier(struct Depsgraph *depsgraph,
diff --git a/source/blender/editors/armature/armature_relations.c b/source/blender/editors/armature/armature_relations.c
index ac1c9418af9..cac6e9965b6 100644
--- a/source/blender/editors/armature/armature_relations.c
+++ b/source/blender/editors/armature/armature_relations.c
@@ -908,9 +908,9 @@ static int armature_parent_set_invoke(bContext *C,
wmOperator *UNUSED(op),
const wmEvent *UNUSED(event))
{
- // False when all selected bones are parented to the active bone.
+ /* False when all selected bones are parented to the active bone. */
bool enable_offset = false;
- // False when all selected bones are connected to the active bone.
+ /* False when all selected bones are connected to the active bone. */
bool enable_connect = false;
{
Object *ob = CTX_data_edit_object(C);
@@ -1033,9 +1033,9 @@ static int armature_parent_clear_invoke(bContext *C,
wmOperator *UNUSED(op),
const wmEvent *UNUSED(event))
{
- // False when no selected bones are connected to the active bone.
+ /* False when no selected bones are connected to the active bone. */
bool enable_disconnect = false;
- // False when no selected bones are parented to the active bone.
+ /* False when no selected bones are parented to the active bone. */
bool enable_clear = false;
{
Object *ob = CTX_data_edit_object(C);
diff --git a/source/blender/editors/interface/interface_context_path.cc b/source/blender/editors/interface/interface_context_path.cc
index b0f8d186afa..3f5efd187d8 100644
--- a/source/blender/editors/interface/interface_context_path.cc
+++ b/source/blender/editors/interface/interface_context_path.cc
@@ -82,4 +82,4 @@ void template_breadcrumbs(uiLayout &layout, Span<ContextPathItem> context_path)
} // namespace blender::ui
-/** \} */
\ No newline at end of file
+/** \} */
diff --git a/source/blender/editors/interface/interface_icons.c b/source/blender/editors/interface/interface_icons.c
index f849ec55e4f..d0a7716b4dd 100644
--- a/source/blender/editors/interface/interface_icons.c
+++ b/source/blender/editors/interface/interface_icons.c
@@ -1484,7 +1484,7 @@ PreviewImage *UI_icon_to_preview(int icon_id)
/**
* Version of #icon_draw_rect() that uses the GPU for scaling. This is only used for
- * #ICON_TYPE_IMBUF because it's a backported fix for performance issues, see T92922. Only
+ * #ICON_TYPE_IMBUF because it's a back-ported fix for performance issues, see T92922. Only
* File/Asset Browser use #ICON_TYPE_IMBUF right now, which makes implications more predictable.
*
* TODO(Julian): This code is mostly duplicated. #icon_draw_rect() should be ported to use the GPU
More information about the Bf-blender-cvs
mailing list