previous commit to editface made it impossible to leave faceSelect mode of the object was in an unseen layer.
Now you can leave faceSelect/UV mode while the object is hidden but not enter it. This is how editmode works. Tweak to crease comparison.
This commit is contained in:
@@ -1424,7 +1424,7 @@ void set_faceselect() /* toggle */
|
||||
Object *ob = OBACT;
|
||||
Mesh *me = 0;
|
||||
|
||||
if(ob==NULL || (ob->lay & G.vd->lay)==0) return;
|
||||
if(ob==NULL) return;
|
||||
if(ob->id.lib) {
|
||||
error("Can't edit library data");
|
||||
return;
|
||||
@@ -1451,7 +1451,7 @@ void set_faceselect() /* toggle */
|
||||
BIF_undo_push("End UV Faceselect");
|
||||
}
|
||||
}
|
||||
else if (me) {
|
||||
else if (me && (ob->lay & G.vd->lay)) {
|
||||
G.f |= G_FACESELECT;
|
||||
if(me->tface==NULL)
|
||||
make_tfaces(me);
|
||||
|
||||
@@ -1042,7 +1042,7 @@ int edgegroup_select(short mode)
|
||||
if (
|
||||
!(eed->f & SELECT) &&
|
||||
!eed->h &&
|
||||
(fabs(base_eed->crease-eed->crease) < thresh)
|
||||
(fabs(base_eed->crease-eed->crease) <= thresh)
|
||||
) {
|
||||
EM_select_edge(eed, 1);
|
||||
selcount++;
|
||||
|
||||
Reference in New Issue
Block a user