Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-09-17 23:18:24 +0300
committerHans Goudey <h.goudey@me.com>2020-09-17 23:18:24 +0300
commit9ee588cd4af881f3432fddce3044e90bad4e30f6 (patch)
tree87f0de2e0687ffdd9fdc1b60363c0401186ad1a4 /source/blender/editors
parent1f9e3d44a0cf0d69cca58d1981e38592aa9ac477 (diff)
Cleanup: Correct comments
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/interface/interface_panel.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index 5aa413c172b..acededa13b7 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -276,8 +276,8 @@ static Panel *UI_panel_add_instanced_ex(ARegion *region,
}
/**
- * Called in situations where panels need to be added dynamically rather than having only one panel
- * corresponding to each #PanelType.
+ * Called in situations where panels need to be added dynamically rather than
+ * having only one panel corresponding to each #PanelType.
*/
Panel *UI_panel_add_instanced(ARegion *region,
ListBase *panels,
@@ -501,7 +501,7 @@ static bool panel_set_expand_from_list_data_recursive(Panel *panel, short flag,
/**
* Set the expansion of the panel and its sub-panels from the flag stored by the list data
- * corresponding to each panel. The flag has expansion stored in each bit in depth first
+ * corresponding to this panel. The flag has expansion stored in each bit in depth first
* order.
*/
void UI_panel_set_expand_from_list_data(const bContext *C, Panel *panel)
@@ -551,7 +551,7 @@ static void get_panel_expand_flag(Panel *panel, short *flag, short *flag_index)
/**
* Call the callback to store the panel and sub-panel expansion settings in the list item that
- * corresponds to this panel.
+ * corresponds to each instanced panel.
*
* \note This needs to iterate through all of the regions panels because the panel with changed
* expansion could have been the sub-panel of a instanced panel, meaning it might not know