[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: pcb.git: branch: master updated (46a84d5baee66bc03dd72adb03083ec7c92b64d3)



The branch, master has been updated
       via  46a84d5baee66bc03dd72adb03083ec7c92b64d3 (commit)
      from  8417c5d9d90f8059a23f799b21547a2b86249d8b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 src/hid/png/png.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


=================
 Commit Messages
=================

commit 46a84d5baee66bc03dd72adb03083ec7c92b64d3
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    If we don't use the outline to clip, don't draw it either.

:100644 100644 d92dced... 5c52768... M	src/hid/png/png.c

=========
 Changes
=========

commit 46a84d5baee66bc03dd72adb03083ec7c92b64d3
Author: DJ Delorie <dj@xxxxxxxxxxx>
Commit: DJ Delorie <dj@xxxxxxxxxxx>

    If we don't use the outline to clip, don't draw it either.

diff --git a/src/hid/png/png.c b/src/hid/png/png.c
index d92dced..5c52768 100644
--- a/src/hid/png/png.c
+++ b/src/hid/png/png.c
@@ -738,7 +738,7 @@ png_do_export (HID_Attr_Val * options)
 	      int cc, mask, silk;
 	      int transparent;
 	     
-	      if (photo_outline) {
+	      if (photo_outline && have_outline) {
 		transparent=gdImageGetPixel(photo_outline, x, y);	      
 	      } else {
 		transparent=0;




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs