Texturepaint now supports all the imagepaint brush settings, with the
exception of the clone tool. One level undo for image- and texturepaint, only storing those tiles that changed. Test to improve texturepaint performance using glTexSubImage2D, only enabled with 2^n sized textures and mipmapping off. Painting a 2048x2048 texture is then pretty smooth here, as long as the geometry is not too complex.
This commit is contained in:
@@ -1575,7 +1575,7 @@ void texpaint_pick_uv(Object *ob, Mesh *mesh, TFace *tf, short *xy, float *uv)
|
||||
|
||||
if (nvert == 4) {
|
||||
texpaint_barycentric_2d(v1, v2, v4, p, w);
|
||||
|
||||
|
||||
if(w[0] < 0.0f) {
|
||||
/* if w[0] is negative, co is on the other side of the v1-v3 edge,
|
||||
so we interpolate using the other triangle */
|
||||
|
||||
Reference in New Issue
Block a user