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

[XaraXtreme-commits] Commit Complete



Commit by  : martin
Repository : xara
Revision   : 1785
Date       : Wed Nov  7 00:46:08 GMT 2007

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

Enabled code to redraw the guide layer when "Show guides" is toggled.


Diff:
Index: Trunk/XaraLX/Kernel/snapops.cpp
===================================================================
--- Trunk/XaraLX/Kernel/snapops.cpp	(revision 1784)
+++ Trunk/XaraLX/Kernel/snapops.cpp	(revision 1785)
@@ -111,7 +111,7 @@
 //#include "document.h" - in camtypes.h [AUTOMATICALLY REMOVED]
 #include "layer.h"
 //#include "spread.h" - in camtypes.h [AUTOMATICALLY REMOVED]
-//#include "sglayer.h"
+#include "sglayer.h"
 #include "sprdmsg.h"
 #include "bubbleid.h"
 
@@ -696,12 +696,9 @@
 		Document* pDoc  = Document::GetSelected();
 		if (pSpread != NULL && pDoc != NULL)
 		{
-PORTNOTE("gallery", "Removed use of Gallery")
-#if !defined(EXCLUDE_FROM_XARALX)
 			Layer* pLayer = pSpread->FindFirstGuideLayer();
 			if (pLayer != NULL)
 				LayerSGallery::ForceRedrawLayer(pDoc,pLayer);
-#endif
 		}
 
 		BROADCAST_TO_ALL(SpreadMsg(pSpread,SpreadMsg::LAYERCHANGES));


Xara