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>2007-09-12 14:35:48 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-12 14:35:48 +0400
commitb2b3b018948f2a5b14b888e386ba811d9e1236e0 (patch)
treec9c50bc73341c74cd8de09f29cb60d2fd93f6f11 /source/blender/src/editmesh.c
parentd1dcfd744a1c28e85a1e61b17782c2444fa14e8b (diff)
Added UV face rotate and mirror to editmode and re arranged some of the editmode keys
The WKey menu was way too big and not well organized, re-arranged keys like this. Ctrl+V - Vert Menu (remove doubles, smooth...) Ctrl+E - Edge Menu - left as is Ctrl+F - Face Menu - (flip normals, shading, Rotate and Mirror UV's/Colors) Wkey menu only has subdivide in it now. filesel.c - only show the relative paths option if the file is saved, (flag on by default caused the image to silently fail loading on my system, and gave permission errors on a users), also removed a warning.
Diffstat (limited to 'source/blender/src/editmesh.c')
-rw-r--r--source/blender/src/editmesh.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/src/editmesh.c b/source/blender/src/editmesh.c
index 4b7db1c1609..fcfb1a5c40f 100644
--- a/source/blender/src/editmesh.c
+++ b/source/blender/src/editmesh.c
@@ -2177,3 +2177,17 @@ int EM_texFaceCheck(void)
return 1;
return 0;
}
+
+/* can we edit colors for this mesh?*/
+int EM_vertColorCheck(void)
+{
+ /* some of these checks could be a touch overkill */
+ if ( (G.obedit) &&
+ (G.obedit->type == OB_MESH) &&
+ (G.editMesh) &&
+ (G.editMesh->faces.first) &&
+ (CustomData_has_layer(&G.editMesh->fdata, CD_MCOL)))
+ return 1;
+ return 0;
+}
+