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:
authorTon Roosendaal <ton@blender.org>2004-09-24 22:17:23 +0400
committerTon Roosendaal <ton@blender.org>2004-09-24 22:17:23 +0400
commitcfe9a9575526458412d50cc6122fdde1d66dd4d2 (patch)
tree9ba2543e0b463513905610e094d43dd722a264fc /source/blender/src/buttons_editing.c
parent572b7c078d152054edc3a2f46f4d01f3def92642 (diff)
All kinds of fixes for new selection modes
- circle-select now works - delete options for edge/face select work as to be expected. should check on a better set of choices in menu though - assign material / select material options work for new modes - shift+f fill didnt leave proper select flags... - border select on face-gones (fgons) works - 'draw normals' and fgons works now
Diffstat (limited to 'source/blender/src/buttons_editing.c')
-rw-r--r--source/blender/src/buttons_editing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/buttons_editing.c b/source/blender/src/buttons_editing.c
index 19851204466..e726bd12470 100644
--- a/source/blender/src/buttons_editing.c
+++ b/source/blender/src/buttons_editing.c
@@ -407,7 +407,7 @@ void do_common_editbuts(unsigned short event) // old name, is a mix of object an
if(G.obedit->type == OB_MESH) {
efa= em->faces.first;
while(efa) {
- if( faceselectedAND(efa, 1) ) {
+ if(efa->f & SELECT) {
if(index== -1) index= efa->mat_nr;
else if(index!=efa->mat_nr) {
error("Mixed colors");
@@ -451,7 +451,7 @@ void do_common_editbuts(unsigned short event) // old name, is a mix of object an
if(G.obedit->type == OB_MESH) {
efa= em->faces.first;
while(efa) {
- if( faceselectedAND(efa, 1) )
+ if(efa->f & SELECT)
efa->mat_nr= G.obedit->actcol-1;
efa= efa->next;
}
@@ -564,7 +564,7 @@ void do_common_editbuts(unsigned short event) // old name, is a mix of object an
if(G.obedit->type == OB_MESH) {
efa= em->faces.first;
while(efa) {
- if( faceselectedAND(efa, 1) ) {
+ if(efa->f & SELECT) {
if(event==B_SETSMOOTH) efa->flag |= ME_SMOOTH;
else efa->flag &= ~ME_SMOOTH;
}