Follow-up Comment #6, bug #18408 (project mypaint):

Or why not have some fun with visual tile debugging? :-)


diff --git a/lib/tiledsurface.py b/lib/tiledsurface.py
index 26e4fcf..821c3de 100644
--- a/lib/tiledsurface.py
+++ b/lib/tiledsurface.py
@@ -145,6 +145,7 @@ class Surface(mypaintlib.TiledSurface):
             dst[:,:,:] = opacity * src[:,:,:] + ((one_minus_srcAlpha *
dst[:,:,:]) >> 15).astype('uint16')
         elif dst.shape[2] == 3 and dst.dtype == 'uint16':
             mypaintlib.tile_composite_rgba16_over_rgb16(src, dst, opacity)
+            dst *= 0.8 # debug: make non-empty tiles darker
         else:
             raise NotImplementedError



    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?18408>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to