[Bf-blender-cvs] [2ca66d541ad] master: Cleanup: Correct misleading comment in UI code

Julian Eisel noreply at git.blender.org
Tue May 24 11:31:30 CEST 2022


Commit: 2ca66d541adfbbf9ac92bcabe8635e87c2834e46
Author: Julian Eisel
Date:   Tue May 24 11:30:46 2022 +0200
Branches: master
https://developer.blender.org/rB2ca66d541adfbbf9ac92bcabe8635e87c2834e46

Cleanup: Correct misleading comment in UI code

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

M	source/blender/editors/include/UI_interface.h

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

diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index a38dea0ba3d..a9a9c98cab8 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -1649,7 +1649,7 @@ void UI_but_func_identity_compare_set(uiBut *but, uiButIdentityCompareFunc cmp_f
  * \param poin: Opaque pointer (for use by the caller).
  * \param iconid: The icon, #ICON_NONE for no icon.
  * \param but_flag: Button flags (#uiBut.flag) indicating the state of the item, typically
- *                  #UI_ACTIVE, #UI_BUT_DISABLED, #UI_BUT_INACTIVE.
+ *                  #UI_BUT_DISABLED, #UI_BUT_INACTIVE or #UI_BUT_HAS_SEP_CHAR.
  *
  * \return false if there is nothing to add.
  */



More information about the Bf-blender-cvs mailing list