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

[XaraXtreme-commits] Commit Complete



Commit by  : gerry
Repository : xara
Revision   : 1331
Date       : Fri Jun 16 15:50:15 BST 2006

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

Fix to disable bitmap caching during exports


Diff:
Index: Trunk/XaraLX/Kernel/filters.cpp
===================================================================
--- Trunk/XaraLX/Kernel/filters.cpp	(revision 1330)
+++ Trunk/XaraLX/Kernel/filters.cpp	(revision 1331)
@@ -1840,6 +1840,9 @@
 BOOL Filter::ExportRender ( RenderRegion *pRegion, BOOL MaskedRender)
 {
 #ifdef DO_EXPORT
+	// Disable bitmap caching but remember the old state so we can set it back
+	ScopedFlagSetter fsBitmapCacheing(NodeRenderableBounded::bEnableCacheing, FALSE);
+
 	ERROR2IF(pRegion==NULL,FALSE,"Filter::ExportRender null render region supplied");
 
 	// We need special handling for Camelot EPS 


Xara