[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/image
From:       Dmitry Kazakov <dimula73 () gmail ! com>
Date:       2010-11-21 9:50:24
Message-ID: 20101121095024.1387EAC8A0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1199261 by dkazakov:

Make proper default values for KisTransformationMask

KisKraSaverTest uses default constructed value of the mask for the
testing so change the default scale to a sane value. Nevertheless we
don't use these masks anywhere yet.


 M  +2 -2      kis_transformation_mask.cpp  


--- trunk/koffice/krita/image/kis_transformation_mask.cpp #1199260:1199261
@@ -27,8 +27,8 @@
 
 KisTransformationMask::KisTransformationMask()
         : KisEffectMask()
-        , m_xscale(0)
-        , m_yscale(0)
+        , m_xscale(1.0)
+        , m_yscale(1.0)
         , m_xshear(0)
         , m_yshear(0)
         , m_rotation(0)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic