Author: Diego Barrios Romero <[email protected]>
Date:   Thu Jun  7 17:05:08 2012 +0200

No default alpha for color base

The maximum alpha is not known in the base class

---

 synfig-core/src/synfig/colorbase.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/synfig-core/src/synfig/colorbase.h 
b/synfig-core/src/synfig/colorbase.h
index 3ed0c04..3af7219 100644
--- a/synfig-core/src/synfig/colorbase.h
+++ b/synfig-core/src/synfig/colorbase.h
@@ -25,8 +25,6 @@
 #ifndef __SYNFIG_COLORBASE_H
 #define __SYNFIG_COLORBASE_H
 
-#include <limits>
-
 namespace synfig {
 
 template<typename T>
@@ -46,7 +44,7 @@ public:
        **      \param G Green
        **      \param B Blue
        **      \param A Opacity(alpha) */
-       ColorBase(const T& R, const T& G, const T& B, const T& 
A=std::numeric_limits<T>::max()):
+       ColorBase(const T& R, const T& G, const T& B, const T& A):
                a_(A),
                r_(R),
                g_(G),


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to