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:
authorThomas Dinges <blender@dingto.org>2009-08-16 00:21:49 +0400
committerThomas Dinges <blender@dingto.org>2009-08-16 00:21:49 +0400
commit2b3d2b72ea157a218e1a6e49759e64de77f99850 (patch)
tree75303be2ad18f0e9404ede2df2baceea3860df86 /source/blender/blenkernel/intern/context.c
parent9d673cd3540d3970430358470335bdadae6f96d1 (diff)
2.5 3DView:
* Renaming of edit mode context types. * Code cleanup.
Diffstat (limited to 'source/blender/blenkernel/intern/context.c')
-rw-r--r--source/blender/blenkernel/intern/context.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/blenkernel/intern/context.c b/source/blender/blenkernel/intern/context.c
index df5b0d766b5..280ea6eca53 100644
--- a/source/blender/blenkernel/intern/context.c
+++ b/source/blender/blenkernel/intern/context.c
@@ -668,19 +668,19 @@ char *CTX_data_mode_string(const bContext *C)
if(obedit) {
switch(obedit->type) {
case OB_MESH:
- return "meshedit";
+ return "mesh_edit";
case OB_CURVE:
- return "curveedit";
+ return "curve_edit";
case OB_SURF:
- return "surfaceedit";
+ return "surface_edit";
case OB_FONT:
- return "textedit";
+ return "text_edit";
case OB_ARMATURE:
- return "armatureedit";
+ return "armature_edit";
case OB_MBALL:
- return "mballedit";
+ return "mball_edit";
case OB_LATTICE:
- return "latticeedit";
+ return "lattice_edit";
}
}
else {