diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-20 11:02:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-20 11:02:28 +0300 |
commit | e63eb6ed2696c5d52b35972ab7a1bbda7b5bdc90 (patch) | |
tree | 94ae2928a62f96acd8d78796dd2f900220d5aed8 /source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c | |
parent | 44ca116ca2aec7651e1fdab9cba6f63c244a8f93 (diff) |
Cleanup: comment line length (windowmanager)
Diffstat (limited to 'source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c')
-rw-r--r-- | source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c index b37991ec8cd..5aecab122a2 100644 --- a/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c +++ b/source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c @@ -188,7 +188,8 @@ wmGizmo *wm_gizmogroup_find_intersected_gizmo(const wmGizmoGroup *gzgroup, } /** - * Adds all gizmos of \a gzgroup that can be selected to the head of \a listbase. Added items need freeing! + * Adds all gizmos of \a gzgroup that can be selected to the head of \a listbase. + * Added items need freeing! */ void wm_gizmogroup_intersectable_gizmos_to_list(const wmGizmoGroup *gzgroup, ListBase *listbase) { @@ -219,7 +220,8 @@ void WM_gizmogroup_ensure_init(const bContext *C, wmGizmoGroup *gzgroup) gzgroup->init_flag |= WM_GIZMOGROUP_INIT_SETUP; } - /* refresh may be called multiple times, this just ensures its called at least once before we draw. */ + /* Refresh may be called multiple times, + * this just ensures its called at least once before we draw. */ if (UNLIKELY((gzgroup->init_flag & WM_GIZMOGROUP_INIT_REFRESH) == 0)) { if (gzgroup->type->refresh) { gzgroup->type->refresh(C, gzgroup); @@ -237,7 +239,8 @@ bool WM_gizmo_group_type_poll(const bContext *C, const struct wmGizmoGroupType * return false; } } - /* Check for poll function, if gizmo-group belongs to an operator, also check if the operator is running. */ + /* Check for poll function, if gizmo-group belongs to an operator, + * also check if the operator is running. */ return (!gzgt->poll || gzgt->poll(C, (wmGizmoGroupType *)gzgt)); } @@ -679,7 +682,8 @@ static wmKeyMap *gizmogroup_tweak_modal_keymap(wmKeyConfig *keyconf, const char */ wmKeyMap *WM_gizmogroup_keymap_common(const wmGizmoGroupType *gzgt, wmKeyConfig *config) { - /* Use area and region id since we might have multiple gizmos with the same name in different areas/regions */ + /* Use area and region id since we might have multiple gizmos + * with the same name in different areas/regions. */ wmKeyMap *km = WM_keymap_ensure( config, gzgt->name, gzgt->gzmap_params.spaceid, gzgt->gzmap_params.regionid); @@ -694,7 +698,8 @@ wmKeyMap *WM_gizmogroup_keymap_common(const wmGizmoGroupType *gzgt, wmKeyConfig */ wmKeyMap *WM_gizmogroup_keymap_common_select(const wmGizmoGroupType *gzgt, wmKeyConfig *config) { - /* Use area and region id since we might have multiple gizmos with the same name in different areas/regions */ + /* Use area and region id since we might have multiple gizmos + * with the same name in different areas/regions. */ wmKeyMap *km = WM_keymap_ensure( config, gzgt->name, gzgt->gzmap_params.spaceid, gzgt->gzmap_params.regionid); /* FIXME(campbell) */ @@ -759,7 +764,8 @@ struct wmGizmoGroupTypeRef *WM_gizmomaptype_group_find(struct wmGizmoMapType *gz } /** - * Use this for registering gizmos on startup. For runtime, use #WM_gizmomaptype_group_link_runtime. + * Use this for registering gizmos on startup. + * For runtime, use #WM_gizmomaptype_group_link_runtime. */ wmGizmoGroupTypeRef *WM_gizmomaptype_group_link(wmGizmoMapType *gzmap_type, const char *idname) { |