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>2012-03-27 08:46:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-03-27 08:46:52 +0400
commit09f29c0b70357684b270745167cc30a3134b8d98 (patch)
tree8cb909d1fa49f5f017e0a0c4d09b426a4d1bd7cb /source/blender/editors/space_image
parentea270a690387c8c65ca31610a3c8ce5f06328eac (diff)
style/name cleanup: have EDBM_* functions match our style guide and also match BM_ function naming conventions
Diffstat (limited to 'source/blender/editors/space_image')
-rw-r--r--source/blender/editors/space_image/space_image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index f1967477d7a..55f767375d2 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -279,7 +279,7 @@ int ED_space_image_show_uvedit(SpaceImage *sima, Object *obedit)
struct BMEditMesh *em = BMEdit_FromObject(obedit);
int ret;
- ret = EDBM_texFaceCheck(em);
+ ret = EDBM_mtexpoly_check(em);
return ret;
}
@@ -297,7 +297,7 @@ int ED_space_image_show_uvshadow(SpaceImage *sima, Object *obedit)
struct BMEditMesh *em = BMEdit_FromObject(obedit);
int ret;
- ret = EDBM_texFaceCheck(em);
+ ret = EDBM_mtexpoly_check(em);
return ret;
}
@@ -605,10 +605,10 @@ static void image_refresh(const bContext *C, ScrArea *UNUSED(sa))
/* old shading system, we set texface */
MTexPoly *tf;
- if (em && EDBM_texFaceCheck(em)) {
+ if (em && EDBM_mtexpoly_check(em)) {
sima->image= NULL;
- tf = EDBM_get_active_mtexpoly(em, NULL, TRUE); /* partially selected face is ok */
+ tf = EDBM_mtexpoly_active_get(em, NULL, TRUE); /* partially selected face is ok */
if (tf) {
/* don't need to check for pin here, see above */