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:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-01-06 09:05:35 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2007-01-06 09:05:35 +0300
commit0f6787d22dfc60c8e191868ef32a03e566a84128 (patch)
tree23ac15291a286439c111a1a6d71f20ada0562713 /source/blender/src/editmesh.c
parenta3da55d5ceb73ec01e01c77c131631462dc7c262 (diff)
Fix for multires: prevent mesh separate operation.
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r--source/blender/src/editmesh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index cddeda5aa10..b43e57a21d3 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -1355,6 +1355,8 @@ void separate_material(void)
unsigned char curr_mat;
Mesh *me;
+ if(multires_test()) return;
+
me= get_mesh(G.obedit);
if(me->key) {
error("Can't separate with vertex keys");
@@ -1395,7 +1397,8 @@ void separate_mesh(void)
struct VNode *vnode = NULL;
#endif
- TEST_EDITMESH
+ TEST_EDITMESH
+ if(multires_test()) return;
waitcursor(1);
@@ -1578,6 +1581,7 @@ void separate_mesh_loose(void)
}
TEST_EDITMESH
+ if(multires_test()) return;
waitcursor(1);
/* we are going to abuse the system as follows: