diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-11-09 16:56:17 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-11-09 16:56:17 +0300 |
commit | 625349a6bd03f9af20a7f37814c8a91b02fa7d5c (patch) | |
tree | 52f3f25aa9ea2e067ba0768e0bbb0b39c4010b5f /source/blender/editors | |
parent | 65bbac6692af373e943fceeb26f6db9fc45c10cb (diff) |
Cleanup: spelling, C style comments
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/armature/armature_relations.c | 8 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_context_path.cc | 2 | ||||
-rw-r--r-- | source/blender/editors/interface/interface_icons.c | 2 |
3 files changed, 6 insertions, 6 deletions
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 |