UV Editing is now done in editmode rather then UV/Face Select mode.

Notes
* you cant edit UV's in the image window in "UV Face Select" mode. (removed UV from the name)
* going into Face Select mode no longer adds UV's and does not need UV's to work.
* The UV Calculation menu is now in editmode (Alt+W)

Todo..
* Image replace - partly broken in stable also.
* Rotate/Mirror UV/VCol are still only in Face Select mode.
* Hide/Reveal is not quite right, (issue with editmode flushing)
This commit is contained in:
2007-09-10 12:26:36 +00:00
parent 0e3460dd1b
commit e8a808da24
25 changed files with 911 additions and 927 deletions

View File

@@ -1613,7 +1613,10 @@ void enter_editmode(int wc)
G.obedit= ob;
make_editMesh();
allqueue(REDRAWBUTSLOGIC, 0);
if(G.f & G_FACESELECT) allqueue(REDRAWIMAGE, 0);
/*if(G.f & G_FACESELECT) allqueue(REDRAWIMAGE, 0);*/
if (EM_texFaceCheck())
allqueue(REDRAWIMAGE, 0);
}
if (ob->type==OB_ARMATURE){
arm= base->object->data;
@@ -1688,7 +1691,10 @@ void exit_editmode(int flag) /* freedata==0 at render, 1= freedata, 2= do undo b
/* temporal */
countall();
if(EM_texFaceCheck())
allqueue(REDRAWIMAGE, 0);
if(retopo_mesh_paint_check())
retopo_end_okee();
@@ -1699,9 +1705,7 @@ void exit_editmode(int flag) /* freedata==0 at render, 1= freedata, 2= do undo b
load_editMesh();
if(freedata) free_editMesh(G.editMesh);
if(G.f & G_FACESELECT)
allqueue(REDRAWIMAGE, 0);
if(G.f & G_WEIGHTPAINT)
mesh_octree_table(G.obedit, NULL, 'e');
}
@@ -3365,7 +3369,7 @@ void copy_attr_tface(short event)
MTFace *tface;
MFace *mface;
MCol *activemcol;
MTFace *activetf= get_active_tface(&activemcol);
MTFace *activetf= get_active_tface(NULL, &activemcol);
int a;
if(activetf==NULL) return;