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:
authorCampbell Barton <ideasman42@gmail.com>2015-11-18 04:20:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-18 04:22:00 +0300
commita374ff16b5e823ae37b69eb1995d36944b80c57f (patch)
treeddf35381dbff2df8d39a4d9a809f4102706b5f4f /source/blender/editors/object/object_edit.c
parenteab00634812baf38b5b6535d72284236785dccd5 (diff)
Cleanup: editor api naming
- use ED_ prefix for api calls - use ED_*_select_pick for mouse selection (was already done in parts)
Diffstat (limited to 'source/blender/editors/object/object_edit.c')
-rw-r--r--source/blender/editors/object/object_edit.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/editors/object/object_edit.c b/source/blender/editors/object/object_edit.c
index 9b7563ae729..fa58e6972c4 100644
--- a/source/blender/editors/object/object_edit.c
+++ b/source/blender/editors/object/object_edit.c
@@ -356,20 +356,20 @@ static bool ED_object_editmode_load_ex(Main *bmain, Object *obedit, const bool f
DAG_relations_tag_update(bmain);
}
else if (ELEM(obedit->type, OB_CURVE, OB_SURF)) {
- load_editNurb(obedit);
- if (freedata) free_editNurb(obedit);
+ ED_curve_editnurb_load(obedit);
+ if (freedata) ED_curve_editnurb_free(obedit);
}
else if (obedit->type == OB_FONT) {
- load_editText(obedit);
- if (freedata) free_editText(obedit);
+ ED_curve_editfont_load(obedit);
+ if (freedata) ED_curve_editfont_free(obedit);
}
else if (obedit->type == OB_LATTICE) {
- load_editLatt(obedit);
- if (freedata) free_editLatt(obedit);
+ ED_lattice_editlatt_load(obedit);
+ if (freedata) ED_lattice_editlatt_free(obedit);
}
else if (obedit->type == OB_MBALL) {
- load_editMball(obedit);
- if (freedata) free_editMball(obedit);
+ ED_mball_editmball_load(obedit);
+ if (freedata) ED_mball_editmball_free(obedit);
}
/* Tag update so no access to freed data referenced from
@@ -532,28 +532,28 @@ void ED_object_editmode_enter(bContext *C, int flag)
else if (ob->type == OB_FONT) {
scene->obedit = ob; /* XXX for context */
ok = 1;
- make_editText(ob);
+ ED_curve_editfont_make(ob);
WM_event_add_notifier(C, NC_SCENE | ND_MODE | NS_EDITMODE_TEXT, scene);
}
else if (ob->type == OB_MBALL) {
scene->obedit = ob; /* XXX for context */
ok = 1;
- make_editMball(ob);
+ ED_mball_editmball_make(ob);
WM_event_add_notifier(C, NC_SCENE | ND_MODE | NS_EDITMODE_MBALL, scene);
}
else if (ob->type == OB_LATTICE) {
scene->obedit = ob; /* XXX for context */
ok = 1;
- make_editLatt(ob);
+ ED_lattice_editlatt_make(ob);
WM_event_add_notifier(C, NC_SCENE | ND_MODE | NS_EDITMODE_LATTICE, scene);
}
else if (ob->type == OB_SURF || ob->type == OB_CURVE) {
ok = 1;
scene->obedit = ob; /* XXX for context */
- make_editNurb(ob);
+ ED_curve_editnurb_make(ob);
WM_event_add_notifier(C, NC_SCENE | ND_MODE | NS_EDITMODE_CURVE, scene);
}