[Bf-blender-cvs] [9ee588cd4af] master: Cleanup: Correct comments

Hans Goudey noreply at git.blender.org
Thu Sep 17 22:18:32 CEST 2020


Commit: 9ee588cd4af881f3432fddce3044e90bad4e30f6
Author: Hans Goudey
Date:   Thu Sep 17 15:18:24 2020 -0500
Branches: master
https://developer.blender.org/rB9ee588cd4af881f3432fddce3044e90bad4e30f6

Cleanup: Correct comments

===================================================================

M	source/blender/editors/interface/interface_panel.c

===================================================================

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



More information about the Bf-blender-cvs mailing list