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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2006-12-21 17:25:52 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2006-12-21 17:25:52 +0300
commit72d484a8728ea4fff860d539723786b8426d8391 (patch)
tree927aab7d35bc8f3954dcd1c9451a978ecab5a4ac /source/blender/src/buttons_editing.c
parente4663acd76419a16d332a0fef2d75bf7bfe943e9 (diff)
Fix compile error for last commit.
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r--source/blender/src/buttons_editing.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index 75c44e9b399..114f97bec67 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -3742,10 +3742,11 @@ void do_meshbuts(unsigned short event)
break;
case B_SETTFACE:
if (G.obedit || me) {
+ CustomData *fdata= (G.obedit)? &em->fdata: &me->fdata;
+
if (G.f & G_FACESELECT)
select_mface_from_tface(me);
- CustomData *fdata= (G.obedit)? &em->fdata: &me->fdata;
CustomData_set_layer_active(fdata, CD_MTFACE, acttface-1);
mesh_update_customdata_pointers(me);