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>2011-04-04 08:54:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-04-04 08:54:41 +0400
commit188d830385431f6eec32f6866e4d0a8d50aa4d13 (patch)
treefe395f7005ede13401f7a4c34550e8421df5ea02 /source/blender/editors/mesh
parent91769a65f27b0b23fd39edbe7272ee48d0daf5b2 (diff)
fix [#26765] seperate selection removes all seams from the new /seperated object.
patch from Sergy to copy the draw flags, also copy smooth threshold and other flags todo with editing / draw settings.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh.c b/source/blender/editors/mesh/editmesh.c
index f78a23f039d..0165b9794ca 100644
--- a/source/blender/editors/mesh/editmesh.c
+++ b/source/blender/editors/mesh/editmesh.c
@@ -1416,7 +1416,14 @@ static int mesh_separate_selected(wmOperator *op, Main *bmain, Scene *scene, Bas
free_editMesh(emnew);
MEM_freeN(menew->edit_mesh);
menew->edit_mesh= NULL;
-
+
+ /* copy settings */
+ menew->texflag= me->texflag;
+ menew->drawflag= me->drawflag;
+ menew->flag= me->flag;
+ menew->editflag= me->editflag;
+ menew->smoothresh= me->smoothresh;
+
/* hashedges are invalid now, make new! */
editMesh_set_hash(em);