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:
authorDalai Felinto <dfelinto@gmail.com>2019-05-15 01:35:55 +0300
committerDalai Felinto <dfelinto@gmail.com>2019-05-15 01:36:55 +0300
commit32c7da1e37c09debb8e0276a6980a823c36789e4 (patch)
tree16a9afa6a69c775325e727fe77a102764581a1e4 /source/blender
parent41858a73111d11e9a5895a16b83a6c9388af7638 (diff)
Outliner Tooltips Cleanup: Retrict/Allow > Restrict ; set/unset > set
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c61
1 files changed, 30 insertions, 31 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 224c3badec0..7e401b894de 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -990,7 +990,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
0,
TIP_("Temporarly hide in viewport\n"
- "* Shift to set/unset children"));
+ "* Shift to set children"));
UI_but_func_set(
bt, outliner__base_set_flag_recursive_cb, base, (void *)"hide_viewport");
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
@@ -1014,7 +1014,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
-1,
-1,
TIP_("Disable selection in viewport\n"
- "* Shift to set/unset children"));
+ "* Shift to set children"));
UI_but_func_set(bt, outliner__object_set_flag_recursive_cb, ob, (char *)"hide_select");
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
}
@@ -1036,7 +1036,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
-1,
-1,
TIP_("Globally disable in viewports\n"
- "* Shift to set/unset children"));
+ "* Shift to set children"));
UI_but_func_set(bt, outliner__object_set_flag_recursive_cb, ob, (void *)"hide_viewport");
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
}
@@ -1058,7 +1058,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
-1,
-1,
TIP_("Globally disable in renders\n"
- "* Shift to set/unset children"));
+ "* Shift to set children"));
UI_but_func_set(bt, outliner__object_set_flag_recursive_cb, ob, (char *)"hide_render");
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
}
@@ -1129,7 +1129,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
0,
0,
- TIP_("Restrict/Allow visibility in the 3D View"));
+ TIP_("Restrict visibility in the 3D View"));
UI_but_func_set(bt, restrictbutton_bone_visibility_cb, ob->data, bone);
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
UI_but_drawflag_enable(bt, UI_BUT_ICON_REVERSE);
@@ -1150,7 +1150,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
0,
0,
- TIP_("Restrict/Allow selection in the 3D View"));
+ TIP_("Restrict selection in the 3D View"));
UI_but_func_set(bt, restrictbutton_bone_select_cb, ob->data, bone);
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
UI_but_drawflag_enable(bt, UI_BUT_ICON_REVERSE);
@@ -1174,7 +1174,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
0,
0,
- TIP_("Restrict/Allow visibility in the 3D View"));
+ TIP_("Restrict visibility in the 3D View"));
UI_but_func_set(bt, restrictbutton_ebone_visibility_cb, NULL, ebone);
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
UI_but_drawflag_enable(bt, UI_BUT_ICON_REVERSE);
@@ -1195,7 +1195,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
0,
0,
- TIP_("Restrict/Allow selection in the 3D View"));
+ TIP_("Restrict selection in the 3D View"));
UI_but_func_set(bt, restrictbutton_ebone_select_cb, NULL, ebone);
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
UI_but_drawflag_enable(bt, UI_BUT_ICON_REVERSE);
@@ -1220,29 +1220,28 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
0,
0,
- TIP_("Restrict/Allow visibility in the 3D View"));
+ TIP_("Restrict visibility in the 3D View"));
UI_but_func_set(bt, restrictbutton_gp_layer_flag_cb, id, gpl);
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
UI_but_drawflag_enable(bt, UI_BUT_ICON_REVERSE);
}
if (soops->show_restrict_flags & SO_RESTRICT_SELECT) {
- bt = uiDefIconButBitS(
- block,
- UI_BTYPE_ICON_TOGGLE,
- GP_LAYER_LOCKED,
- 0,
- ICON_UNLOCKED,
- (int)(ar->v2d.cur.xmax - restrict_offsets.select),
- te->ys,
- UI_UNIT_X,
- UI_UNIT_Y,
- &gpl->flag,
- 0,
- 0,
- 0,
- 0,
- TIP_("Restrict/Allow editing of strokes and keyframes in this layer"));
+ bt = uiDefIconButBitS(block,
+ UI_BTYPE_ICON_TOGGLE,
+ GP_LAYER_LOCKED,
+ 0,
+ ICON_UNLOCKED,
+ (int)(ar->v2d.cur.xmax - restrict_offsets.select),
+ te->ys,
+ UI_UNIT_X,
+ UI_UNIT_Y,
+ &gpl->flag,
+ 0,
+ 0,
+ 0,
+ 0,
+ TIP_("Restrict editing of strokes and keyframes in this layer"));
UI_but_func_set(bt, restrictbutton_gp_layer_flag_cb, id, gpl);
UI_but_flag_enable(bt, UI_BUT_DRAG_LOCK);
}
@@ -1281,7 +1280,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
TIP_("Temporarily hide in viewport\n"
"* Ctrl to isolate collection\n"
- "* Shift to set/unset inside collections and objects"));
+ "* Shift to set inside collections and objects"));
UI_but_func_set(bt,
view_layer__layer_collection_set_flag_recursive_cb,
layer_collection,
@@ -1307,7 +1306,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
TIP_("Mask out objects in collection from view layer\n"
"* Ctrl to isolate collection\n"
- "* Shift to set/unset inside collections"));
+ "* Shift to set inside collections"));
UI_but_func_set(bt,
view_layer__layer_collection_set_flag_recursive_cb,
layer_collection,
@@ -1335,7 +1334,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
TIP_("Objects in collection only contribute indirectly (through shadows and "
"reflections) in the view layer\n"
"* Ctrl to isolate collection\n"
- "* Shift to set/unset inside collections"));
+ "* Shift to set inside collections"));
UI_but_func_set(bt,
view_layer__layer_collection_set_flag_recursive_cb,
layer_collection,
@@ -1362,7 +1361,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
TIP_("Globally disable in viewports\n"
"* Ctrl to isolate collection\n"
- "* Shift to set/unset inside collections and objects"));
+ "* Shift to set inside collections and objects"));
if (layer_collection != NULL) {
UI_but_func_set(bt,
view_layer__collection_set_flag_recursive_cb,
@@ -1396,7 +1395,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
TIP_("Globally disable in renders\n"
"* Ctrl to isolate collection\n"
- "* Shift to set/unset inside collections and objects"));
+ "* Shift to set inside collections and objects"));
if (layer_collection != NULL) {
UI_but_func_set(bt,
view_layer__collection_set_flag_recursive_cb,
@@ -1428,7 +1427,7 @@ static void outliner_draw_restrictbuts(uiBlock *block,
0,
TIP_("Disable selection in viewport\n"
"* Ctrl to isolate collection\n"
- "* Shift to set/unset inside collections and objects"));
+ "* Shift to set inside collections and objects"));
if (layer_collection != NULL) {
UI_but_func_set(bt,
view_layer__collection_set_flag_recursive_cb,