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:
authorValentin <Poulpator>2020-09-30 13:09:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-30 13:11:06 +0300
commit5ac477805637f20b8ac5e742457fa8f304066d83 (patch)
tree6e0ccbf01192495fe030a2ac6c05edaf33e0376c /source/blender/editors/interface
parentc0a563ffe814f227411f6b6ce6276a780245ccea (diff)
Cleanup: convert gforge task ID's to phabricator format
Cleanup old tracker task format to the new. e.g: [#34039] to T34039 Ref D8718
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface.c4
-rw-r--r--source/blender/editors/interface/interface_align.c2
-rw-r--r--source/blender/editors/interface/interface_handlers.c12
-rw-r--r--source/blender/editors/interface/interface_layout.c2
-rw-r--r--source/blender/editors/interface/interface_region_menu_popup.c2
-rw-r--r--source/blender/editors/interface/interface_templates.c4
-rw-r--r--source/blender/editors/interface/view2d.c2
7 files changed, 14 insertions, 14 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index a5b7a011e6b..68e02ba1e55 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -869,7 +869,7 @@ static bool ui_but_update_from_old_block(const bContext *C,
}
/* copy hardmin for list rows to prevent 'sticking' highlight to mouse position
- * when scrolling without moving mouse (see [#28432]) */
+ * when scrolling without moving mouse (see T28432) */
if (ELEM(oldbut->type, UI_BTYPE_ROW, UI_BTYPE_LISTROW)) {
oldbut->hardmax = but->hardmax;
}
@@ -2021,7 +2021,7 @@ void UI_block_draw(const bContext *C, uiBlock *block)
ui_but_to_pixelrect(&rect, region, block, but);
/* XXX: figure out why invalid coordinates happen when closing render window */
- /* and material preview is redrawn in main window (temp fix for bug #23848) */
+ /* and material preview is redrawn in main window (temp fix for bug T23848) */
if (rect.xmin < rect.xmax && rect.ymin < rect.ymax) {
ui_draw_but(C, region, &style, but, &rect);
}
diff --git a/source/blender/editors/interface/interface_align.c b/source/blender/editors/interface/interface_align.c
index d626c57b121..1f9c736a5f3 100644
--- a/source/blender/editors/interface/interface_align.c
+++ b/source/blender/editors/interface/interface_align.c
@@ -559,7 +559,7 @@ static bool buts_are_horiz(uiBut *but1, uiBut *but2)
float dx, dy;
/* simple case which can fail if buttons shift apart
- * with proportional layouts, see: [#38602] */
+ * with proportional layouts, see: T38602. */
if ((but1->rect.ymin == but2->rect.ymin) && (but1->rect.xmin != but2->rect.xmin)) {
return true;
}
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 51a719199da..4ab62a28724 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -508,7 +508,7 @@ void ui_pan_to_scroll(const wmEvent *event, int *type, int *val)
int dy = event->prevy - event->y;
/* This event should be originally from event->type,
- * converting wrong event into wheel is bad, see [#33803] */
+ * converting wrong event into wheel is bad, see T33803. */
BLI_assert(*type == MOUSEPAN);
/* sign differs, reset */
@@ -712,7 +712,7 @@ static uiAfterFunc *ui_afterfunc_new(void)
/**
* For executing operators after the button is pressed.
- * (some non operator buttons need to trigger operators), see: [#37795]
+ * (some non operator buttons need to trigger operators), see: T37795.
*
* \note Can only call while handling buttons.
*/
@@ -6154,7 +6154,7 @@ static bool ui_numedit_but_HSVCUBE(uiBut *but,
ui_color_picker_to_rgb_HSVCUBE_v(hsv_but, hsv, rgb);
ui_color_picker_to_scene_linear_space(but, rgb);
- /* clamp because with color conversion we can exceed range [#34295] */
+ /* clamp because with color conversion we can exceed range T34295. */
if (hsv_but->gradient_type == UI_GRAD_V_ALT) {
clamp_axis_max_v3(rgb, but->softmax);
}
@@ -8956,7 +8956,7 @@ static int ui_handle_button_event(bContext *C, const wmEvent *event, uiBut *but)
*
* This is needed to make sure if a button was active,
* it stays active while the mouse is over it.
- * This avoids adding mousemoves, see: [#33466] */
+ * This avoids adding mousemoves, see: T33466. */
if (ELEM(state_orig, BUTTON_STATE_INIT, BUTTON_STATE_HIGHLIGHT, BUTTON_STATE_WAIT_DRAG)) {
if (ui_but_find_mouse_over(region, event) == but) {
button_activate_init(C, region, but, BUTTON_ACTIVATE_OVER);
@@ -9205,7 +9205,7 @@ static bool ui_mouse_motion_towards_check(uiBlock *block,
{
BLI_assert(block->flag & (UI_BLOCK_MOVEMOUSE_QUIT | UI_BLOCK_POPOVER));
- /* annoying fix for [#36269], this is a bit odd but in fact works quite well
+ /* annoying fix for T36269, this is a bit odd but in fact works quite well
* don't mouse-out of a menu if another menu has been created after it.
* if this causes problems we could remove it and check on a different fix - campbell */
if (menu->region->next) {
@@ -10584,7 +10584,7 @@ static int ui_handle_menus_recursive(bContext *C,
if (block->flag & (UI_BLOCK_MOVEMOUSE_QUIT | UI_BLOCK_POPOVER)) {
/* when there is a active search button and we close it,
- * we need to reinit the mouse coords [#35346] */
+ * we need to reinit the mouse coords T35346. */
if (ui_region_find_active_but(menu->region) != but) {
do_towards_reinit = true;
}
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c
index ac1b9a972f0..b7f7ec5a46f 100644
--- a/source/blender/editors/interface/interface_layout.c
+++ b/source/blender/editors/interface/interface_layout.c
@@ -3476,7 +3476,7 @@ void uiItemMenuFN(uiLayout *layout, const char *name, int icon, uiMenuCreateFunc
typedef struct MenuItemLevel {
int opcontext;
/* don't use pointers to the strings because python can dynamically
- * allocate strings and free before the menu draws, see [#27304] */
+ * allocate strings and free before the menu draws, see T27304. */
char opname[OP_MAX_TYPENAME];
char propname[MAX_IDPROP_NAME];
PointerRNA rnapoin;
diff --git a/source/blender/editors/interface/interface_region_menu_popup.c b/source/blender/editors/interface/interface_region_menu_popup.c
index 881ba58174b..fe0fde50ae6 100644
--- a/source/blender/editors/interface/interface_region_menu_popup.c
+++ b/source/blender/editors/interface/interface_region_menu_popup.c
@@ -340,7 +340,7 @@ uiPopupBlockHandle *ui_popup_menu_create(
#if 0
/* if this is an rna button then we can assume its an enum
* flipping enums is generally not good since the order can be
- * important [#28786] */
+ * important T28786. */
if (but->rnaprop && RNA_property_type(but->rnaprop) == PROP_ENUM) {
pup->block->flag |= UI_BLOCK_NO_FLIP;
}
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index 680b469fd9e..26231a0f069 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -2412,7 +2412,7 @@ static eAutoPropButsReturn template_operator_property_buts_draw_single(
/* no undo for buttons for operator redo panels */
UI_but_flag_disable(but, UI_BUT_UNDO);
- /* only for popups, see [#36109] */
+ /* only for popups, see T36109. */
/* if button is operator's default property, and a text-field, enable focus for it
* - this is used for allowing operators with popups to rename stuff with fewer clicks
@@ -7058,7 +7058,7 @@ void uiTemplateKeymapItemProperties(uiLayout *layout, PointerRNA *ptr)
/* attach callbacks to compensate for missing properties update,
* we don't know which keymap (item) is being modified there */
for (; but; but = but->next) {
- /* operator buttons may store props for use (file selector, [#36492]) */
+ /* operator buttons may store props for use (file selector, T36492) */
if (but->rnaprop) {
UI_but_func_set(but, keymap_item_modified, ptr->data, NULL);
diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c
index 9057ccaa762..ec20aa8b55c 100644
--- a/source/blender/editors/interface/view2d.c
+++ b/source/blender/editors/interface/view2d.c
@@ -1103,7 +1103,7 @@ void UI_view2d_zoom_cache_reset(void)
return;
}
/* While scaling we can accumulate fonts at many sizes (~20 or so).
- * Not an issue with embedded font, but can use over 500Mb with i18n ones! See [#38244]. */
+ * Not an issue with embedded font, but can use over 500Mb with i18n ones! See T38244. */
/* note: only some views draw text, we could check for this case to avoid clearning cache */
BLF_cache_clear();