diff layer/SingleColourLayer.h @ 366:a55affd7ab6c

* Avoid setting a new colour on layer when adding the same layer more than once
author Chris Cannam
date Mon, 11 Feb 2008 11:06:17 +0000
parents c0b9eec70639
children 2c59b0cd176b
line wrap: on
line diff
--- a/layer/SingleColourLayer.h	Thu Feb 07 15:25:05 2008 +0000
+++ b/layer/SingleColourLayer.h	Mon Feb 11 11:06:17 2008 +0000
@@ -70,6 +70,7 @@
 
     int m_colour;
     bool m_colourExplicitlySet;
+    bool m_defaultColourSet;
 };
 
 #endif