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:
Diffstat (limited to 'source/blender/editors/space_buttons')
-rw-r--r--source/blender/editors/space_buttons/space_buttons.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_buttons/space_buttons.c b/source/blender/editors/space_buttons/space_buttons.c
index a951c2a8524..ba9045346c7 100644
--- a/source/blender/editors/space_buttons/space_buttons.c
+++ b/source/blender/editors/space_buttons/space_buttons.c
@@ -225,16 +225,16 @@ static void buttons_main_region_layout_tool(const bContext *C, SpaceButs *sbuts,
ARRAY_SET_ITEMS(contexts, ".curve_edit");
break;
case CTX_MODE_EDIT_TEXT:
- ARRAY_SET_ITEMS(contexts, ".todo");
+ ARRAY_SET_ITEMS(contexts, ".text_edit");
break;
case CTX_MODE_EDIT_ARMATURE:
ARRAY_SET_ITEMS(contexts, ".armature_edit");
break;
case CTX_MODE_EDIT_METABALL:
- ARRAY_SET_ITEMS(contexts, ".todo");
+ ARRAY_SET_ITEMS(contexts, ".mball_edit");
break;
case CTX_MODE_EDIT_LATTICE:
- ARRAY_SET_ITEMS(contexts, ".todo");
+ ARRAY_SET_ITEMS(contexts, ".lattice_edit");
break;
case CTX_MODE_POSE:
ARRAY_SET_ITEMS(contexts, ".posemode");
@@ -255,7 +255,7 @@ static void buttons_main_region_layout_tool(const bContext *C, SpaceButs *sbuts,
ARRAY_SET_ITEMS(contexts, ".particlemode");
break;
case CTX_MODE_OBJECT:
- ARRAY_SET_ITEMS(contexts, ".todo");
+ ARRAY_SET_ITEMS(contexts, ".objectmode");
break;
}
}