[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-commits] Commit Complete



Commit by  : luke
Repository : xara
Revision   : 1562
Date       : Wed Jul 26 18:16:27 BST 2006

Changed paths:
   M /Trunk/XaraLX/Kernel/bmpexprw.cpp

Add code to stop transparent background from becoming re-enabled (finish off BZ #1333)


Diff:
Index: Trunk/XaraLX/Kernel/bmpexprw.cpp
===================================================================
--- Trunk/XaraLX/Kernel/bmpexprw.cpp	(revision 1561)
+++ Trunk/XaraLX/Kernel/bmpexprw.cpp	(revision 1562)
@@ -1693,6 +1693,11 @@
 	pNewOptions->RetrieveDefaults();
 	pNewOptions->CopyFrom(BitmapData[Index].m_pOptions);
 
+PORTNOTE("other","Transparent background just break palettised exports, stop the flag sneaking back in")
+#if !defined(ENABLE_TRANSPARENT)
+	pNewOptions->SetBackgroundTransparency( FALSE );
+#endif
+		
 	// Bodge fix so BMPs don't gain background transparency as they do not support it
 	if (FileTypeSelected.IsIdentical(String_16(_R(IDS_FILE_TYPE_BMP))))
 		pNewOptions->SetBackgroundTransparency(FALSE);


Xara