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>2007-02-26 00:57:45 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2007-02-26 00:57:45 +0300
commit2ffe25aa79a8a07ab02f62fa2edca4bc763cfb91 (patch)
tree343aabe812ae2b9f079b1b2b40d58b915be3102b /source/blender/src/editmesh_lib.c
parentebc042a808c039c8e3da233741483cae07511964 (diff)
Bugfix:
Mesh extruding in vertex mode did not copy face data correct, leading to garbage UV data.
Diffstat (limited to 'source/blender/src/editmesh_lib.c')
-rw-r--r--source/blender/src/editmesh_lib.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/source/blender/src/editmesh_lib.c b/source/blender/src/editmesh_lib.c
index dd42e97f782..f256b0b534a 100644
--- a/source/blender/src/editmesh_lib.c
+++ b/source/blender/src/editmesh_lib.c
@@ -1480,18 +1480,11 @@ short extrudeflag_vert(short flag, float *nor)
if(eed->dir != del_old)
efa2 = addfacelist(eed->v1, eed->v2,
eed->v2->tmp.v, eed->v1->tmp.v,
- NULL, NULL);
+ eed->tmp.f, NULL);
else
efa2 = addfacelist(eed->v2, eed->v1,
eed->v1->tmp.v, eed->v2->tmp.v,
- NULL, NULL);
-
- if(eed->tmp.f) {
- efa = eed->tmp.f;
- efa2->mat_nr= efa->mat_nr;
- efa2->flag= efa->flag;
- CustomData_em_copy_data(&em->fdata, &em->fdata, &efa->data, &efa2->data);
- }
+ eed->tmp.f, NULL);
/* Needs smarter adaption of existing creases.
* If addedgelist is used, make sure seams are set to 0 on these