OSDN Git Service

changelog, and fixing some limits
authorMartin Renold <martinxyz@gmx.ch>
Thu, 9 Apr 2009 17:41:53 +0000 (17:41 +0000)
committerMartin Renold <martinxyz@gmx.ch>
Thu, 9 Apr 2009 17:41:53 +0000 (17:41 +0000)
svn://svn.gna.org/svn/mypaint/trunk@307

brushlib/brush.hpp
changelog
gui/drawwindow.py

index 89d1131..3419e1e 100644 (file)
@@ -20,7 +20,7 @@
 #include "mapping.hpp"
 
 #define ACTUAL_RADIUS_MIN 0.2
-#define ACTUAL_RADIUS_MAX 5000 // not really used, only a safety guard against radius 1e20 and similar insanity
+#define ACTUAL_RADIUS_MAX 800 // safety guard against radius like 1e20 and against rendering overload with unexpected brush dynamics
 
 /* The Brush class stores two things:
    b) settings: constant during a stroke (eg. size, spacing, dynamics, color selected by the user)
index b3d3a4c..7ef4271 100644 (file)
--- a/changelog
+++ b/changelog
@@ -1,3 +1,7 @@
+SVN:
+- Ghost lines between strokes (on touchpads) fixed
+- Elliptical dabs
+
 Version 0.6.0:
 - Layers, transparency and eraser mode
 - Background color and pattterns
index 4727d80..41ec2f7 100644 (file)
@@ -55,7 +55,7 @@ class Window(gtk.Window):
         pixbuf = gdk.pixbuf_new_from_file(filename)
         self.tdw.neutral_background_pixbuf = helpers.gdkpixbuf2numpy(pixbuf)
 
-        self.zoomlevel_values = [0.09, 0.12,  2.0/11, 0.25, 1.0/3, 0.50, 2.0/3, 1.0, 1.5, 2.0, 3.0, 4.0, 5.5, 8.0]
+        self.zoomlevel_values = [2.0/11, 0.25, 1.0/3, 0.50, 2.0/3, 1.0, 1.5, 2.0, 3.0, 4.0, 5.5, 8.0]
         self.zoomlevel = self.zoomlevel_values.index(1.0)
         self.tdw.zoom_min = min(self.zoomlevel_values)
         self.tdw.zoom_max = max(self.zoomlevel_values)