Attachment 'mypaint-0.9.0-resistive.patch'
Download
Toggle line numbers
1 diff -r -U 2 -x '*.pyc' a/brushes/classic/blending_knife.myb b/brushes/classic/blending_knife.myb
2 --- a/brushes/classic/blending_knife.myb 2010-10-30 21:27:59.000000000 +0200
3 +++ b/brushes/classic/blending_knife.myb 2010-12-04 10:29:19.128503001 +0100
4 @@ -19,5 +19,5 @@
5 offset_by_speed 0.0
6 offset_by_speed_slowness 1.0
7 -slow_tracking 2.0
8 +slow_tracking 0.0
9 slow_tracking_per_dab 0.0
10 tracking_noise 0.0
11 diff -r -U 2 -x '*.pyc' a/brushes/classic/brush.myb b/brushes/classic/brush.myb
12 --- a/brushes/classic/brush.myb 2010-10-30 21:27:59.000000000 +0200
13 +++ b/brushes/classic/brush.myb 2010-12-04 10:29:19.140503001 +0100
14 @@ -18,6 +18,6 @@
15 offset_by_speed 0.0
16 offset_by_speed_slowness 1.0
17 -slow_tracking 4.47
18 -slow_tracking_per_dab 2.48
19 +slow_tracking 0.0
20 +slow_tracking_per_dab 0.0
21 tracking_noise 0.0
22 color_h 0.0
23 diff -r -U 2 -x '*.pyc' a/brushes/classic/calligraphy.myb b/brushes/classic/calligraphy.myb
24 --- a/brushes/classic/calligraphy.myb 2010-10-30 21:27:59.000000000 +0200
25 +++ b/brushes/classic/calligraphy.myb 2010-12-04 10:29:19.124503001 +0100
26 @@ -18,6 +18,6 @@
27 offset_by_speed 0.0
28 offset_by_speed_slowness 1.0
29 -slow_tracking 0.65
30 -slow_tracking_per_dab 0.8
31 +slow_tracking 0.0
32 +slow_tracking_per_dab 0.0
33 tracking_noise 0.0
34 color_h 0.0
35 diff -r -U 2 -x '*.pyc' a/brushes/classic/charcoal.myb b/brushes/classic/charcoal.myb
36 --- a/brushes/classic/charcoal.myb 2010-10-30 21:27:59.000000000 +0200
37 +++ b/brushes/classic/charcoal.myb 2010-12-04 10:29:19.132503001 +0100
38 @@ -14,5 +14,5 @@
39 offset_by_speed 0.0
40 offset_by_speed_slowness 1.0
41 -slow_tracking 2.0
42 +slow_tracking 0.0
43 slow_tracking_per_dab 0.0
44 color_value 0.0
45 diff -r -U 2 -x '*.pyc' a/brushes/classic/dry_brush.myb b/brushes/classic/dry_brush.myb
46 --- a/brushes/classic/dry_brush.myb 2010-10-30 21:27:59.000000000 +0200
47 +++ b/brushes/classic/dry_brush.myb 2010-12-04 10:29:19.108503001 +0100
48 @@ -18,5 +18,5 @@
49 offset_by_speed 0.0
50 offset_by_speed_slowness 1.0
51 -slow_tracking 2.0
52 +slow_tracking 0.0
53 slow_tracking_per_dab 0.0
54 tracking_noise 0.0
55 diff -r -U 2 -x '*.pyc' a/brushes/classic/ink_eraser.myb b/brushes/classic/ink_eraser.myb
56 --- a/brushes/classic/ink_eraser.myb 2010-10-30 21:27:59.000000000 +0200
57 +++ b/brushes/classic/ink_eraser.myb 2010-12-04 10:29:19.140503001 +0100
58 @@ -18,6 +18,6 @@
59 offset_by_speed 0.0
60 offset_by_speed_slowness 1.0
61 -slow_tracking 0.65
62 -slow_tracking_per_dab 0.8
63 +slow_tracking 0.0
64 +slow_tracking_per_dab 0.0
65 tracking_noise 0.0
66 color_h 0.0
67 diff -r -U 2 -x '*.pyc' a/brushes/classic/kabura.myb b/brushes/classic/kabura.myb
68 --- a/brushes/classic/kabura.myb 2010-10-30 21:27:59.000000000 +0200
69 +++ b/brushes/classic/kabura.myb 2010-12-04 10:29:19.144503001 +0100
70 @@ -18,6 +18,6 @@
71 offset_by_speed 0.0
72 offset_by_speed_slowness 1.0
73 -slow_tracking 0.0
74 -slow_tracking_per_dab 10.0 | speed1 (0.000000 -1.428571), (4.000000 10.000000) | speed2 (0.000000 -1.428571), (4.000000 10.000000)
75 +slow_tracking 0.0
76 +slow_tracking_per_dab 0.0
77 tracking_noise 0.0
78 color_h 0.0
79 diff -r -U 2 -x '*.pyc' a/brushes/classic/long_grass.myb b/brushes/classic/long_grass.myb
80 --- a/brushes/classic/long_grass.myb 2010-10-30 21:27:59.000000000 +0200
81 +++ b/brushes/classic/long_grass.myb 2010-12-04 10:29:19.120503001 +0100
82 @@ -18,5 +18,5 @@
83 offset_by_speed 0.0
84 offset_by_speed_slowness 1.0
85 -slow_tracking 2.0
86 +slow_tracking 0.0
87 slow_tracking_per_dab 0.0
88 tracking_noise 0.0
89 diff -r -U 2 -x '*.pyc' a/brushes/classic/marker_fat.myb b/brushes/classic/marker_fat.myb
90 --- a/brushes/classic/marker_fat.myb 2010-10-30 21:27:59.000000000 +0200
91 +++ b/brushes/classic/marker_fat.myb 2010-12-04 10:29:19.120503001 +0100
92 @@ -18,5 +18,5 @@
93 offset_by_speed 0.0
94 offset_by_speed_slowness 0.0
95 -slow_tracking 3.0
96 +slow_tracking 0.0
97 slow_tracking_per_dab 0.0
98 tracking_noise 0.0
99 diff -r -U 2 -x '*.pyc' a/brushes/classic/marker_small.myb b/brushes/classic/marker_small.myb
100 --- a/brushes/classic/marker_small.myb 2010-10-30 21:27:59.000000000 +0200
101 +++ b/brushes/classic/marker_small.myb 2010-12-04 10:29:19.136503001 +0100
102 @@ -18,5 +18,5 @@
103 offset_by_speed 0.0
104 offset_by_speed_slowness 0.0
105 -slow_tracking 3.0
106 +slow_tracking 0.0
107 slow_tracking_per_dab 0.0
108 tracking_noise 0.0
109 diff -r -U 2 -x '*.pyc' a/brushes/classic/pencil.myb b/brushes/classic/pencil.myb
110 --- a/brushes/classic/pencil.myb 2010-10-30 21:27:59.000000000 +0200
111 +++ b/brushes/classic/pencil.myb 2010-12-04 10:29:19.144503001 +0100
112 @@ -18,5 +18,5 @@
113 offset_by_speed 0.0
114 offset_by_speed_slowness 1.0
115 -slow_tracking 1.0
116 +slow_tracking 0.0
117 slow_tracking_per_dab 0.0
118 tracking_noise 0.0
119 diff -r -U 2 -x '*.pyc' a/brushes/classic/pen.myb b/brushes/classic/pen.myb
120 --- a/brushes/classic/pen.myb 2010-10-30 21:27:59.000000000 +0200
121 +++ b/brushes/classic/pen.myb 2010-12-04 10:29:19.112503001 +0100
122 @@ -18,6 +18,6 @@
123 offset_by_speed 0.0
124 offset_by_speed_slowness 1.0
125 -slow_tracking 0.65
126 -slow_tracking_per_dab 0.8
127 +slow_tracking 0.0
128 +slow_tracking_per_dab 0.0
129 tracking_noise 0.0
130 color_h 0.0
131 diff -r -U 2 -x '*.pyc' a/brushes/classic/pointy_ink.myb b/brushes/classic/pointy_ink.myb
132 --- a/brushes/classic/pointy_ink.myb 2010-10-30 21:27:59.000000000 +0200
133 +++ b/brushes/classic/pointy_ink.myb 2010-12-04 10:29:19.116503001 +0100
134 @@ -18,6 +18,6 @@
135 offset_by_speed 0.0
136 offset_by_speed_slowness 1.0
137 -slow_tracking 0.0
138 -slow_tracking_per_dab 0.0
139 +slow_tracking 0.0
140 +slow_tracking_per_dab 0.0
141 tracking_noise 0.0
142 color_h 0.833333333333
143 diff -r -U 2 -x '*.pyc' a/brushes/classic/rounded.myb b/brushes/classic/rounded.myb
144 --- a/brushes/classic/rounded.myb 2010-10-30 21:27:59.000000000 +0200
145 +++ b/brushes/classic/rounded.myb 2010-12-04 10:29:19.140503001 +0100
146 @@ -18,5 +18,5 @@
147 offset_by_speed 0.0
148 offset_by_speed_slowness 1.0
149 -slow_tracking 0.08
150 +slow_tracking 0.0
151 slow_tracking_per_dab 0.0
152 tracking_noise 0.0
153 diff -r -U 2 -x '*.pyc' a/brushes/classic/short_grass.myb b/brushes/classic/short_grass.myb
154 --- a/brushes/classic/short_grass.myb 2010-10-30 21:27:59.000000000 +0200
155 +++ b/brushes/classic/short_grass.myb 2010-12-04 10:29:19.112503001 +0100
156 @@ -18,5 +18,5 @@
157 offset_by_speed 0.0
158 offset_by_speed_slowness 1.0
159 -slow_tracking 2.0
160 +slow_tracking 0.0
161 slow_tracking_per_dab 0.0
162 tracking_noise 0.0
163 diff -r -U 2 -x '*.pyc' a/brushes/classic/slow_ink.myb b/brushes/classic/slow_ink.myb
164 --- a/brushes/classic/slow_ink.myb 2010-10-30 21:27:59.000000000 +0200
165 +++ b/brushes/classic/slow_ink.myb 2010-12-04 10:29:19.144503001 +0100
166 @@ -18,6 +18,6 @@
167 offset_by_speed 0.0
168 offset_by_speed_slowness 1.0
169 -slow_tracking 8.64
170 -slow_tracking_per_dab 1.44
171 +slow_tracking 0.0
172 +slow_tracking_per_dab 0.0
173 tracking_noise 0.0
174 color_h 0
175 diff -r -U 2 -x '*.pyc' a/brushes/classic/textured_ink.myb b/brushes/classic/textured_ink.myb
176 --- a/brushes/classic/textured_ink.myb 2010-10-30 21:27:59.000000000 +0200
177 +++ b/brushes/classic/textured_ink.myb 2010-12-04 10:29:19.112503001 +0100
178 @@ -18,5 +18,5 @@
179 offset_by_speed 0.0
180 offset_by_speed_slowness 1.0
181 -slow_tracking 2.0
182 +slow_tracking 0.0
183 slow_tracking_per_dab 0.0
184 tracking_noise 0.0
185 diff -r -U 2 -x '*.pyc' a/brushes/deevad/blending1.myb b/brushes/deevad/blending1.myb
186 --- a/brushes/deevad/blending1.myb 2010-10-30 21:27:59.000000000 +0200
187 +++ b/brushes/deevad/blending1.myb 2010-12-04 10:29:19.164503001 +0100
188 @@ -18,6 +18,6 @@
189 offset_by_speed 0.0
190 offset_by_speed_slowness 1.0
191 -slow_tracking 1.86
192 -slow_tracking_per_dab 7.08
193 +slow_tracking 0.0
194 +slow_tracking_per_dab 0.0
195 tracking_noise 0.2
196 color_h 0.153635000141
197 diff -r -U 2 -x '*.pyc' a/brushes/deevad/brush.myb b/brushes/deevad/brush.myb
198 --- a/brushes/deevad/brush.myb 2010-10-30 21:27:59.000000000 +0200
199 +++ b/brushes/deevad/brush.myb 2010-12-04 10:29:19.164503001 +0100
200 @@ -18,5 +18,5 @@
201 offset_by_speed 0.0
202 offset_by_speed_slowness 1.0
203 -slow_tracking 2.44
204 +slow_tracking 0.0
205 slow_tracking_per_dab 0.0
206 tracking_noise 0.0
207 diff -r -U 2 -x '*.pyc' a/brushes/deevad/chalk.myb b/brushes/deevad/chalk.myb
208 --- a/brushes/deevad/chalk.myb 2010-10-30 21:27:59.000000000 +0200
209 +++ b/brushes/deevad/chalk.myb 2010-12-04 10:29:19.152503001 +0100
210 @@ -18,5 +18,5 @@
211 offset_by_speed 0.0
212 offset_by_speed_slowness 1.0
213 -slow_tracking 2.0
214 +slow_tracking 0.0
215 slow_tracking_per_dab 0.0
216 tracking_noise 0.0
217 diff -r -U 2 -x '*.pyc' a/brushes/deevad/charcoal.myb b/brushes/deevad/charcoal.myb
218 --- a/brushes/deevad/charcoal.myb 2010-10-30 21:27:59.000000000 +0200
219 +++ b/brushes/deevad/charcoal.myb 2010-12-04 10:29:19.160503001 +0100
220 @@ -18,5 +18,5 @@
221 offset_by_speed 0.0
222 offset_by_speed_slowness 1.0
223 -slow_tracking 2.0
224 +slow_tracking 0.0
225 slow_tracking_per_dab 0.0
226 tracking_noise 0.0
227 diff -r -U 2 -x '*.pyc' a/brushes/deevad/fill.myb b/brushes/deevad/fill.myb
228 --- a/brushes/deevad/fill.myb 2010-10-30 21:27:59.000000000 +0200
229 +++ b/brushes/deevad/fill.myb 2010-12-04 10:29:19.160503001 +0100
230 @@ -18,6 +18,6 @@
231 offset_by_speed 0.0
232 offset_by_speed_slowness 1.0
233 -slow_tracking 0.65
234 -slow_tracking_per_dab 0.8
235 +slow_tracking 0.0
236 +slow_tracking_per_dab 0.0
237 tracking_noise 0.0
238 color_h 0.0
239 diff -r -U 2 -x '*.pyc' a/brushes/deevad/G-pen.myb b/brushes/deevad/G-pen.myb
240 --- a/brushes/deevad/G-pen.myb 2010-10-30 21:27:59.000000000 +0200
241 +++ b/brushes/deevad/G-pen.myb 2010-12-04 10:29:19.156503001 +0100
242 @@ -18,5 +18,5 @@
243 offset_by_speed 0.0
244 offset_by_speed_slowness 1.0
245 -slow_tracking 2.44
246 +slow_tracking 0.0
247 slow_tracking_per_dab 0.0
248 tracking_noise 0.0
249 diff -r -U 2 -x '*.pyc' a/brushes/deevad/pastel.myb b/brushes/deevad/pastel.myb
250 --- a/brushes/deevad/pastel.myb 2010-10-30 21:27:59.000000000 +0200
251 +++ b/brushes/deevad/pastel.myb 2010-12-04 10:29:19.168503001 +0100
252 @@ -18,5 +18,5 @@
253 offset_by_speed 0.0
254 offset_by_speed_slowness 1.0
255 -slow_tracking 2.0
256 +slow_tracking 0.0
257 slow_tracking_per_dab 0.0
258 tracking_noise 0.0
259 diff -r -U 2 -x '*.pyc' a/brushes/deevad/pen.myb b/brushes/deevad/pen.myb
260 --- a/brushes/deevad/pen.myb 2010-10-30 21:27:59.000000000 +0200
261 +++ b/brushes/deevad/pen.myb 2010-12-04 10:29:19.152503001 +0100
262 @@ -18,6 +18,6 @@
263 offset_by_speed 0.0
264 offset_by_speed_slowness 1.0
265 -slow_tracking 0.65
266 -slow_tracking_per_dab 0.8
267 +slow_tracking 0.0
268 +slow_tracking_per_dab 0.0
269 tracking_noise 0.0
270 color_h 0
271 diff -r -U 2 -x '*.pyc' a/brushes/deevad/spray.myb b/brushes/deevad/spray.myb
272 --- a/brushes/deevad/spray.myb 2010-10-30 21:27:59.000000000 +0200
273 +++ b/brushes/deevad/spray.myb 2010-12-04 10:29:19.164503001 +0100
274 @@ -18,5 +18,5 @@
275 offset_by_speed 0.44
276 offset_by_speed_slowness 0.45
277 -slow_tracking 0.83
278 +slow_tracking 0.0
279 slow_tracking_per_dab 0.0
280 tracking_noise 1.36
281 diff -r -U 2 -x '*.pyc' a/brushes/experimental/1pixel.myb b/brushes/experimental/1pixel.myb
282 --- a/brushes/experimental/1pixel.myb 2010-10-30 21:27:59.000000000 +0200
283 +++ b/brushes/experimental/1pixel.myb 2010-12-04 10:29:19.084503001 +0100
284 @@ -18,5 +18,5 @@
285 offset_by_speed 0.0
286 offset_by_speed_slowness 1.0
287 -slow_tracking 2.0
288 +slow_tracking 0.0
289 slow_tracking_per_dab 0.0
290 tracking_noise 0.0
291 diff -r -U 2 -x '*.pyc' a/brushes/experimental/DNA_brush.myb b/brushes/experimental/DNA_brush.myb
292 --- a/brushes/experimental/DNA_brush.myb 2010-10-30 21:27:59.000000000 +0200
293 +++ b/brushes/experimental/DNA_brush.myb 2010-12-04 10:29:19.092503001 +0100
294 @@ -18,5 +18,5 @@
295 offset_by_speed 0.0
296 offset_by_speed_slowness 1.0
297 -slow_tracking 1.0
298 +slow_tracking 0.0
299 slow_tracking_per_dab 0.0
300 tracking_noise 6.36
301 diff -r -U 2 -x '*.pyc' a/brushes/experimental/fur.myb b/brushes/experimental/fur.myb
302 --- a/brushes/experimental/fur.myb 2010-10-30 21:27:59.000000000 +0200
303 +++ b/brushes/experimental/fur.myb 2010-12-04 10:29:19.096503001 +0100
304 @@ -18,6 +18,6 @@
305 offset_by_speed 0.0 | pressure (0.000000 0.000000), (1.000000 -0.560000)
306 offset_by_speed_slowness 1.0
307 -slow_tracking 0.0
308 -slow_tracking_per_dab 0.0
309 +slow_tracking 0.0
310 +slow_tracking_per_dab 0.0
311 tracking_noise 2.02
312 color_h 0.0
313 diff -r -U 2 -x '*.pyc' a/brushes/experimental/glow.myb b/brushes/experimental/glow.myb
314 --- a/brushes/experimental/glow.myb 2010-10-30 21:27:59.000000000 +0200
315 +++ b/brushes/experimental/glow.myb 2010-12-04 10:29:19.088503001 +0100
316 @@ -18,6 +18,6 @@
317 offset_by_speed 0.0
318 offset_by_speed_slowness 1.0
319 -slow_tracking 0.65
320 -slow_tracking_per_dab 0.8
321 +slow_tracking 0.0
322 +slow_tracking_per_dab 0.0
323 tracking_noise 0.0
324 color_h 0.0
325 diff -r -U 2 -x '*.pyc' a/brushes/experimental/irregular_ink.myb b/brushes/experimental/irregular_ink.myb
326 --- a/brushes/experimental/irregular_ink.myb 2010-10-30 21:27:59.000000000 +0200
327 +++ b/brushes/experimental/irregular_ink.myb 2010-12-04 10:29:19.100503001 +0100
328 @@ -18,6 +18,6 @@
329 offset_by_speed 0.0
330 offset_by_speed_slowness 1.0
331 -slow_tracking 0.65
332 -slow_tracking_per_dab 0.8
333 +slow_tracking 0.0
334 +slow_tracking_per_dab 0.0
335 tracking_noise 0.0
336 color_h 0.254021541474
337 diff -r -U 2 -x '*.pyc' a/brushes/experimental/pixelblocking.myb b/brushes/experimental/pixelblocking.myb
338 --- a/brushes/experimental/pixelblocking.myb 2010-10-30 21:27:59.000000000 +0200
339 +++ b/brushes/experimental/pixelblocking.myb 2010-12-04 10:29:19.092503001 +0100
340 @@ -18,5 +18,5 @@
341 offset_by_speed 0.0
342 offset_by_speed_slowness 1.0
343 -slow_tracking 5.15
344 +slow_tracking 0.0
345 slow_tracking_per_dab 0.0
346 tracking_noise 0.0
347 diff -r -U 2 -x '*.pyc' a/brushes/experimental/pixel_hardink.myb b/brushes/experimental/pixel_hardink.myb
348 --- a/brushes/experimental/pixel_hardink.myb 2010-10-30 21:27:59.000000000 +0200
349 +++ b/brushes/experimental/pixel_hardink.myb 2010-12-04 10:29:19.096503001 +0100
350 @@ -18,5 +18,5 @@
351 offset_by_speed 0.0
352 offset_by_speed_slowness 1.0
353 -slow_tracking 2.0
354 +slow_tracking 0.0
355 slow_tracking_per_dab 0.0
356 tracking_noise 0.0
357 diff -r -U 2 -x '*.pyc' a/brushes/experimental/soft_irregular.myb b/brushes/experimental/soft_irregular.myb
358 --- a/brushes/experimental/soft_irregular.myb 2010-10-30 21:27:59.000000000 +0200
359 +++ b/brushes/experimental/soft_irregular.myb 2010-12-04 10:29:19.080503001 +0100
360 @@ -18,5 +18,5 @@
361 offset_by_speed 0.0
362 offset_by_speed_slowness 1.0
363 -slow_tracking 1.0
364 +slow_tracking 0.0
365 slow_tracking_per_dab 0.0
366 tracking_noise 9.02
367 diff -r -U 2 -x '*.pyc' a/brushes/experimental/subtle_pencil.myb b/brushes/experimental/subtle_pencil.myb
368 --- a/brushes/experimental/subtle_pencil.myb 2010-10-30 21:27:59.000000000 +0200
369 +++ b/brushes/experimental/subtle_pencil.myb 2010-12-04 10:29:19.088503001 +0100
370 @@ -18,6 +18,6 @@
371 offset_by_speed 0.0
372 offset_by_speed_slowness 1.0
373 -slow_tracking 0.65
374 -slow_tracking_per_dab 0.8
375 +slow_tracking 0.0
376 +slow_tracking_per_dab 0.0
377 tracking_noise 0.0
378 color_h 0
379 diff -r -U 2 -x '*.pyc' a/brushes/ramon/100%_Opaque.myb b/brushes/ramon/100%_Opaque.myb
380 --- a/brushes/ramon/100%_Opaque.myb 2010-10-30 21:27:59.000000000 +0200
381 +++ b/brushes/ramon/100%_Opaque.myb 2010-12-04 10:29:19.068503002 +0100
382 @@ -18,6 +18,6 @@
383 offset_by_speed 0.0
384 offset_by_speed_slowness 1.0
385 -slow_tracking 0.65
386 -slow_tracking_per_dab 0.8
387 +slow_tracking 0.0
388 +slow_tracking_per_dab 0.0
389 tracking_noise 0.0
390 color_h 0.230938381376
391 diff -r -U 2 -x '*.pyc' a/brushes/ramon/2B_pencil.myb b/brushes/ramon/2B_pencil.myb
392 --- a/brushes/ramon/2B_pencil.myb 2010-10-30 21:27:59.000000000 +0200
393 +++ b/brushes/ramon/2B_pencil.myb 2010-12-04 10:29:19.064503003 +0100
394 @@ -18,6 +18,6 @@
395 offset_by_speed 0.0
396 offset_by_speed_slowness 1.0
397 -slow_tracking 0.0
398 -slow_tracking_per_dab 0.0
399 +slow_tracking 0.0
400 +slow_tracking_per_dab 0.0
401 tracking_noise 0.0
402 color_h 0.374799357945
403 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Beamlight.myb b/brushes/ramon/Beamlight.myb
404 --- a/brushes/ramon/Beamlight.myb 2010-10-30 21:27:59.000000000 +0200
405 +++ b/brushes/ramon/Beamlight.myb 2010-12-04 10:29:19.064503003 +0100
406 @@ -18,6 +18,6 @@
407 offset_by_speed 0.0
408 offset_by_speed_slowness 1.0
409 -slow_tracking 2.6
410 -slow_tracking_per_dab 0.0
411 +slow_tracking 0.0
412 +slow_tracking_per_dab 0.0
413 tracking_noise 0.0
414 color_h 0.845694888549
415 diff -r -U 2 -x '*.pyc' a/brushes/ramon/BigAirbrush.myb b/brushes/ramon/BigAirbrush.myb
416 --- a/brushes/ramon/BigAirbrush.myb 2010-10-30 21:27:59.000000000 +0200
417 +++ b/brushes/ramon/BigAirbrush.myb 2010-12-04 10:29:19.060503003 +0100
418 @@ -18,6 +18,6 @@
419 offset_by_speed 0.0
420 offset_by_speed_slowness 1.0
421 -slow_tracking 0.0
422 -slow_tracking_per_dab 0.0
423 +slow_tracking 0.0
424 +slow_tracking_per_dab 0.0
425 tracking_noise 0.0
426 color_h 0.507574781276
427 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Blur_Fast.myb b/brushes/ramon/Blur_Fast.myb
428 --- a/brushes/ramon/Blur_Fast.myb 2010-10-30 21:27:59.000000000 +0200
429 +++ b/brushes/ramon/Blur_Fast.myb 2010-12-04 10:29:19.068503002 +0100
430 @@ -18,6 +18,6 @@
431 offset_by_speed 0.0
432 offset_by_speed_slowness 1.0
433 -slow_tracking 0.0
434 -slow_tracking_per_dab 0.0
435 +slow_tracking 0.0
436 +slow_tracking_per_dab 0.0
437 tracking_noise 0.0
438 color_h 0.845694888549
439 diff -r -U 2 -x '*.pyc' a/brushes/ramon/B-pencil.myb b/brushes/ramon/B-pencil.myb
440 --- a/brushes/ramon/B-pencil.myb 2010-10-30 21:27:59.000000000 +0200
441 +++ b/brushes/ramon/B-pencil.myb 2010-12-04 10:29:19.060503003 +0100
442 @@ -18,6 +18,6 @@
443 offset_by_speed 0.0
444 offset_by_speed_slowness 1.0
445 -slow_tracking 0.0
446 -slow_tracking_per_dab 0.0
447 +slow_tracking 0.0
448 +slow_tracking_per_dab 0.0
449 tracking_noise 0.0
450 color_h 0.374799357945
451 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Classic_Paint.myb b/brushes/ramon/Classic_Paint.myb
452 --- a/brushes/ramon/Classic_Paint.myb 2010-10-30 21:27:59.000000000 +0200
453 +++ b/brushes/ramon/Classic_Paint.myb 2010-12-04 10:29:19.072503001 +0100
454 @@ -18,6 +18,6 @@
455 offset_by_speed 0.0
456 offset_by_speed_slowness 1.0
457 -slow_tracking 0.0
458 -slow_tracking_per_dab 0.0
459 +slow_tracking 0.0
460 +slow_tracking_per_dab 0.0
461 tracking_noise 0.0
462 color_h 0.0451859575947
463 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Clouds.myb b/brushes/ramon/Clouds.myb
464 --- a/brushes/ramon/Clouds.myb 2010-10-30 21:27:59.000000000 +0200
465 +++ b/brushes/ramon/Clouds.myb 2010-12-04 10:29:19.072503001 +0100
466 @@ -18,6 +18,6 @@
467 offset_by_speed 0.0
468 offset_by_speed_slowness 1.0
469 -slow_tracking 0.0
470 -slow_tracking_per_dab 0.0
471 +slow_tracking 0.0
472 +slow_tracking_per_dab 0.0
473 tracking_noise 0.0
474 color_h 0.0
475 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Delayed_.myb b/brushes/ramon/Delayed_.myb
476 --- a/brushes/ramon/Delayed_.myb 2010-10-30 21:27:59.000000000 +0200
477 +++ b/brushes/ramon/Delayed_.myb 2010-12-04 10:29:19.052503000 +0100
478 @@ -18,6 +18,6 @@
479 offset_by_speed 0.0
480 offset_by_speed_slowness 1.0
481 -slow_tracking 10.0
482 -slow_tracking_per_dab 8.2
483 +slow_tracking 0.0
484 +slow_tracking_per_dab 0.0
485 tracking_noise 0.0
486 color_h 0.845694888549
487 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Dirty_Noise.myb b/brushes/ramon/Dirty_Noise.myb
488 --- a/brushes/ramon/Dirty_Noise.myb 2010-10-30 21:27:59.000000000 +0200
489 +++ b/brushes/ramon/Dirty_Noise.myb 2010-12-04 10:29:19.064503003 +0100
490 @@ -18,6 +18,6 @@
491 offset_by_speed 0.0
492 offset_by_speed_slowness 1.0
493 -slow_tracking 0.0
494 -slow_tracking_per_dab 0.0
495 +slow_tracking 0.0
496 +slow_tracking_per_dab 0.0
497 tracking_noise 2.09
498 color_h 0.230938381376
499 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Glow_Airbrush.myb b/brushes/ramon/Glow_Airbrush.myb
500 --- a/brushes/ramon/Glow_Airbrush.myb 2010-10-30 21:27:59.000000000 +0200
501 +++ b/brushes/ramon/Glow_Airbrush.myb 2010-12-04 10:29:19.060503003 +0100
502 @@ -18,6 +18,6 @@
503 offset_by_speed 0.0
504 offset_by_speed_slowness 1.0
505 -slow_tracking 2.6
506 -slow_tracking_per_dab 0.0
507 +slow_tracking 0.0
508 +slow_tracking_per_dab 0.0
509 tracking_noise 0.0
510 color_h 0.00623515994541
511 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Grain.myb b/brushes/ramon/Grain.myb
512 --- a/brushes/ramon/Grain.myb 2010-10-30 21:27:59.000000000 +0200
513 +++ b/brushes/ramon/Grain.myb 2010-12-04 10:29:19.052503000 +0100
514 @@ -18,6 +18,6 @@
515 offset_by_speed 0.0
516 offset_by_speed_slowness 0.0
517 -slow_tracking 0.0
518 -slow_tracking_per_dab 0.0
519 +slow_tracking 0.0
520 +slow_tracking_per_dab 0.0
521 tracking_noise 0.0
522 color_h 0.230938381376
523 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Hard_Eraser.myb b/brushes/ramon/Hard_Eraser.myb
524 --- a/brushes/ramon/Hard_Eraser.myb 2010-10-30 21:27:59.000000000 +0200
525 +++ b/brushes/ramon/Hard_Eraser.myb 2010-12-04 10:29:19.072503001 +0100
526 @@ -18,6 +18,6 @@
527 offset_by_speed 0.0
528 offset_by_speed_slowness 1.0
529 -slow_tracking 3.66
530 -slow_tracking_per_dab 0.8
531 +slow_tracking 0.0
532 +slow_tracking_per_dab 0.0
533 tracking_noise 0.0
534 color_h 0.985511478678
535 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Knife.myb b/brushes/ramon/Knife.myb
536 --- a/brushes/ramon/Knife.myb 2010-10-30 21:27:59.000000000 +0200
537 +++ b/brushes/ramon/Knife.myb 2010-12-04 10:29:19.056503003 +0100
538 @@ -18,6 +18,6 @@
539 offset_by_speed 0.0
540 offset_by_speed_slowness 1.0
541 -slow_tracking 0.0
542 -slow_tracking_per_dab 0.0
543 +slow_tracking 0.0
544 +slow_tracking_per_dab 0.0
545 tracking_noise 0.0
546 color_h 0.0
547 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Marker.myb b/brushes/ramon/Marker.myb
548 --- a/brushes/ramon/Marker.myb 2010-10-30 21:27:59.000000000 +0200
549 +++ b/brushes/ramon/Marker.myb 2010-12-04 10:29:19.064503003 +0100
550 @@ -18,6 +18,6 @@
551 offset_by_speed 0.0
552 offset_by_speed_slowness 1.0
553 -slow_tracking 0.0
554 -slow_tracking_per_dab 0.8
555 +slow_tracking 0.0
556 +slow_tracking_per_dab 0.0
557 tracking_noise 0.0
558 color_h 0.874938453964
559 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Pastel_1.myb b/brushes/ramon/Pastel_1.myb
560 --- a/brushes/ramon/Pastel_1.myb 2010-10-30 21:27:59.000000000 +0200
561 +++ b/brushes/ramon/Pastel_1.myb 2010-12-04 10:29:19.056503003 +0100
562 @@ -18,6 +18,6 @@
563 offset_by_speed 0.0
564 offset_by_speed_slowness 1.0
565 -slow_tracking 0.0
566 -slow_tracking_per_dab 0.0
567 +slow_tracking 0.0
568 +slow_tracking_per_dab 0.0
569 tracking_noise 0.0
570 color_h 0.0893086896279
571 diff -r -U 2 -x '*.pyc' a/brushes/ramon/PenBrush.myb b/brushes/ramon/PenBrush.myb
572 --- a/brushes/ramon/PenBrush.myb 2010-10-30 21:27:59.000000000 +0200
573 +++ b/brushes/ramon/PenBrush.myb 2010-12-04 10:29:19.060503003 +0100
574 @@ -18,6 +18,6 @@
575 offset_by_speed 0.0
576 offset_by_speed_slowness 1.0
577 -slow_tracking 0.0
578 -slow_tracking_per_dab 4.55
579 +slow_tracking 0.0
580 +slow_tracking_per_dab 0.0
581 tracking_noise 0.0
582 color_h 0.463906213906
583 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Pen.myb b/brushes/ramon/Pen.myb
584 --- a/brushes/ramon/Pen.myb 2010-10-30 21:27:59.000000000 +0200
585 +++ b/brushes/ramon/Pen.myb 2010-12-04 10:29:19.056503003 +0100
586 @@ -18,6 +18,6 @@
587 offset_by_speed 0.0
588 offset_by_speed_slowness 1.0
589 -slow_tracking 0.0
590 -slow_tracking_per_dab 0.0
591 +slow_tracking 0.0
592 +slow_tracking_per_dab 0.0
593 tracking_noise 0.0
594 color_h 0.845694888549
595 diff -r -U 2 -x '*.pyc' a/brushes/ramon/P._Shade.myb b/brushes/ramon/P._Shade.myb
596 --- a/brushes/ramon/P._Shade.myb 2010-10-30 21:27:59.000000000 +0200
597 +++ b/brushes/ramon/P._Shade.myb 2010-12-04 10:29:19.076503001 +0100
598 @@ -18,6 +18,6 @@
599 offset_by_speed 0.0
600 offset_by_speed_slowness 1.0
601 -slow_tracking 2.0
602 -slow_tracking_per_dab 0.0
603 +slow_tracking 0.0
604 +slow_tracking_per_dab 0.0
605 tracking_noise 0.0
606 color_h 0.874938453964
607 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Round_Bl.myb b/brushes/ramon/Round_Bl.myb
608 --- a/brushes/ramon/Round_Bl.myb 2010-10-30 21:27:59.000000000 +0200
609 +++ b/brushes/ramon/Round_Bl.myb 2010-12-04 10:29:19.068503002 +0100
610 @@ -18,6 +18,6 @@
611 offset_by_speed 0.0
612 offset_by_speed_slowness 1.0
613 -slow_tracking 0.0
614 -slow_tracking_per_dab 0.0
615 +slow_tracking 0.0
616 +slow_tracking_per_dab 0.0
617 tracking_noise 0.0
618 color_h 0.0
619 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Round.myb b/brushes/ramon/Round.myb
620 --- a/brushes/ramon/Round.myb 2010-10-30 21:27:59.000000000 +0200
621 +++ b/brushes/ramon/Round.myb 2010-12-04 10:29:19.056503003 +0100
622 @@ -18,6 +18,6 @@
623 offset_by_speed 0.0
624 offset_by_speed_slowness 1.0
625 -slow_tracking 0.0
626 -slow_tracking_per_dab 0.0
627 +slow_tracking 0.0
628 +slow_tracking_per_dab 0.0
629 tracking_noise 0.0
630 color_h 0.463906213906
631 diff -r -U 2 -x '*.pyc' a/brushes/ramon/RS_blendOP.myb b/brushes/ramon/RS_blendOP.myb
632 --- a/brushes/ramon/RS_blendOP.myb 2010-10-30 21:27:59.000000000 +0200
633 +++ b/brushes/ramon/RS_blendOP.myb 2010-12-04 10:29:19.076503001 +0100
634 @@ -18,6 +18,6 @@
635 offset_by_speed 0.0
636 offset_by_speed_slowness 1.0
637 -slow_tracking 0.0
638 -slow_tracking_per_dab 0.0
639 +slow_tracking 0.0
640 +slow_tracking_per_dab 0.0
641 tracking_noise 0.0
642 color_h 0.862332854459
643 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Sketch_1.myb b/brushes/ramon/Sketch_1.myb
644 --- a/brushes/ramon/Sketch_1.myb 2010-10-30 21:27:59.000000000 +0200
645 +++ b/brushes/ramon/Sketch_1.myb 2010-12-04 10:29:19.068503002 +0100
646 @@ -18,6 +18,6 @@
647 offset_by_speed 0.0
648 offset_by_speed_slowness 1.0
649 -slow_tracking 0.0
650 -slow_tracking_per_dab 0.0
651 +slow_tracking 0.0
652 +slow_tracking_per_dab 0.0
653 tracking_noise 0.0
654 color_h 0.874938453964
655 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Smear.myb b/brushes/ramon/Smear.myb
656 --- a/brushes/ramon/Smear.myb 2010-10-30 21:27:59.000000000 +0200
657 +++ b/brushes/ramon/Smear.myb 2010-12-04 10:29:19.068503002 +0100
658 @@ -18,6 +18,6 @@
659 offset_by_speed 0.0
660 offset_by_speed_slowness 1.0
661 -slow_tracking 0.0
662 -slow_tracking_per_dab 0.0
663 +slow_tracking 0.0
664 +slow_tracking_per_dab 0.0
665 tracking_noise 0.0
666 color_h 0.0
667 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Soft_Eraser.myb b/brushes/ramon/Soft_Eraser.myb
668 --- a/brushes/ramon/Soft_Eraser.myb 2010-10-30 21:27:59.000000000 +0200
669 +++ b/brushes/ramon/Soft_Eraser.myb 2010-12-04 10:29:19.064503003 +0100
670 @@ -18,6 +18,6 @@
671 offset_by_speed 0.0
672 offset_by_speed_slowness 1.0
673 -slow_tracking 0.0
674 -slow_tracking_per_dab 0.0
675 +slow_tracking 0.0
676 +slow_tracking_per_dab 0.0
677 tracking_noise 0.0
678 color_h 0
679 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Thin_Pen.myb b/brushes/ramon/Thin_Pen.myb
680 --- a/brushes/ramon/Thin_Pen.myb 2010-10-30 21:27:59.000000000 +0200
681 +++ b/brushes/ramon/Thin_Pen.myb 2010-12-04 10:29:19.072503001 +0100
682 @@ -18,6 +18,6 @@
683 offset_by_speed 0.0
684 offset_by_speed_slowness 1.0
685 -slow_tracking 0.0
686 -slow_tracking_per_dab 0.0
687 +slow_tracking 0.0
688 +slow_tracking_per_dab 0.0
689 tracking_noise 0.0
690 color_h 0.845694888549
691 diff -r -U 2 -x '*.pyc' a/brushes/ramon/Wet_Direction.myb b/brushes/ramon/Wet_Direction.myb
692 --- a/brushes/ramon/Wet_Direction.myb 2010-10-30 21:27:59.000000000 +0200
693 +++ b/brushes/ramon/Wet_Direction.myb 2010-12-04 10:29:19.060503003 +0100
694 @@ -18,6 +18,6 @@
695 offset_by_speed 0.0
696 offset_by_speed_slowness 1.0
697 -slow_tracking 0.0
698 -slow_tracking_per_dab 0.0
699 +slow_tracking 0.0
700 +slow_tracking_per_dab 0.0
701 tracking_noise 0.0
702 color_h 0.0
703 diff -r -U 2 -x '*.pyc' a/brushes/ramon/wet_round.myb b/brushes/ramon/wet_round.myb
704 --- a/brushes/ramon/wet_round.myb 2010-10-30 21:27:59.000000000 +0200
705 +++ b/brushes/ramon/wet_round.myb 2010-12-04 10:29:19.052503000 +0100
706 @@ -18,6 +18,6 @@
707 offset_by_speed 0.0
708 offset_by_speed_slowness 1.0
709 -slow_tracking 0.0
710 -slow_tracking_per_dab 0.0
711 +slow_tracking 0.0
712 +slow_tracking_per_dab 0.0
713 tracking_noise 0.0
714 color_h 0.900092921382
715 diff -r -U 2 -x '*.pyc' a/brushes/tanda/acrylic-03-only-water.myb b/brushes/tanda/acrylic-03-only-water.myb
716 --- a/brushes/tanda/acrylic-03-only-water.myb 2010-10-30 21:27:59.000000000 +0200
717 +++ b/brushes/tanda/acrylic-03-only-water.myb 2010-12-04 10:29:19.192503001 +0100
718 @@ -18,5 +18,5 @@
719 offset_by_speed 0.0
720 offset_by_speed_slowness 1.0
721 -slow_tracking 5.0
722 +slow_tracking 0.0
723 slow_tracking_per_dab 0.0
724 tracking_noise 0.0
725 diff -r -U 2 -x '*.pyc' a/brushes/tanda/acrylic-05-only-water.myb b/brushes/tanda/acrylic-05-only-water.myb
726 --- a/brushes/tanda/acrylic-05-only-water.myb 2010-10-30 21:27:59.000000000 +0200
727 +++ b/brushes/tanda/acrylic-05-only-water.myb 2010-12-04 10:29:19.184503001 +0100
728 @@ -18,5 +18,5 @@
729 offset_by_speed 0.0
730 offset_by_speed_slowness 1.0
731 -slow_tracking 2.0
732 +slow_tracking 0.0
733 slow_tracking_per_dab 0.0
734 tracking_noise 0.0
735 diff -r -U 2 -x '*.pyc' a/brushes/tanda/acrylic-05-paint.myb b/brushes/tanda/acrylic-05-paint.myb
736 --- a/brushes/tanda/acrylic-05-paint.myb 2010-10-30 21:27:59.000000000 +0200
737 +++ b/brushes/tanda/acrylic-05-paint.myb 2010-12-04 10:29:19.212503001 +0100
738 @@ -18,5 +18,5 @@
739 offset_by_speed 0.0
740 offset_by_speed_slowness 1.0
741 -slow_tracking 2.0
742 +slow_tracking 0.0
743 slow_tracking_per_dab 0.0
744 tracking_noise 0.0
745 diff -r -U 2 -x '*.pyc' a/brushes/tanda/acrylic-05-with-water.myb b/brushes/tanda/acrylic-05-with-water.myb
746 --- a/brushes/tanda/acrylic-05-with-water.myb 2010-10-30 21:27:59.000000000 +0200
747 +++ b/brushes/tanda/acrylic-05-with-water.myb 2010-12-04 10:29:19.196503001 +0100
748 @@ -18,5 +18,5 @@
749 offset_by_speed 0.0
750 offset_by_speed_slowness 1.0
751 -slow_tracking 1.0
752 +slow_tracking 0.0
753 slow_tracking_per_dab 0.0
754 tracking_noise 0.0
755 diff -r -U 2 -x '*.pyc' a/brushes/tanda/oil-06-clean.myb b/brushes/tanda/oil-06-clean.myb
756 --- a/brushes/tanda/oil-06-clean.myb 2010-10-30 21:27:59.000000000 +0200
757 +++ b/brushes/tanda/oil-06-clean.myb 2010-12-04 10:29:19.184503001 +0100
758 @@ -18,5 +18,5 @@
759 offset_by_speed 0.0
760 offset_by_speed_slowness 1.0
761 -slow_tracking 2.0
762 +slow_tracking 0.0
763 slow_tracking_per_dab 0.0
764 tracking_noise 0.0
765 diff -r -U 2 -x '*.pyc' a/brushes/tanda/oil-06-paint.myb b/brushes/tanda/oil-06-paint.myb
766 --- a/brushes/tanda/oil-06-paint.myb 2010-10-30 21:27:59.000000000 +0200
767 +++ b/brushes/tanda/oil-06-paint.myb 2010-12-04 10:29:19.212503001 +0100
768 @@ -18,5 +18,5 @@
769 offset_by_speed 0.0
770 offset_by_speed_slowness 1.0
771 -slow_tracking 2.0
772 +slow_tracking 0.0
773 slow_tracking_per_dab 0.0
774 tracking_noise 0.0
775 diff -r -U 2 -x '*.pyc' a/brushes/tanda/pencil-8b.myb b/brushes/tanda/pencil-8b.myb
776 --- a/brushes/tanda/pencil-8b.myb 2010-10-30 21:27:59.000000000 +0200
777 +++ b/brushes/tanda/pencil-8b.myb 2010-12-04 10:29:19.196503001 +0100
778 @@ -18,5 +18,5 @@
779 offset_by_speed 0.0
780 offset_by_speed_slowness 1.0
781 -slow_tracking 1.0
782 +slow_tracking 0.0
783 slow_tracking_per_dab 0.0
784 tracking_noise 0.0
785 diff -r -U 2 -x '*.pyc' a/brushes/tanda/splatter-02.myb b/brushes/tanda/splatter-02.myb
786 --- a/brushes/tanda/splatter-02.myb 2010-10-30 21:27:59.000000000 +0200
787 +++ b/brushes/tanda/splatter-02.myb 2010-12-04 10:29:19.188503001 +0100
788 @@ -18,5 +18,5 @@
789 offset_by_speed 0.0
790 offset_by_speed_slowness 1.0
791 -slow_tracking 1.0
792 +slow_tracking 0.0
793 slow_tracking_per_dab 0.0
794 tracking_noise 12.0
795 diff -r -U 2 -x '*.pyc' a/gui/tileddrawwidget.py b/gui/tileddrawwidget.py
796 --- a/gui/tileddrawwidget.py 2010-10-30 21:27:59.000000000 +0200
797 +++ b/gui/tileddrawwidget.py 2010-12-04 10:28:37.236503065 +0100
798 @@ -14,4 +14,6 @@
799 import cursor
800
801 +resistive = True;
802 +
803 class TiledDrawWidget(gtk.DrawingArea):
804 """
805 @@ -226,8 +228,14 @@
806 step /= len(self.motions)+1
807 for data_old in self.motions:
808 - self.doc.stroke_to(step, *data_old)
809 +# self.doc.stroke_to(step, *data_old)
810 + if (not resistive) or (event.state & gdk.BUTTON1_MASK):
811 + #ignore movements without mouse on resistive screens
812 + self.doc.stroke_to(dtime, *data_old)
813 dtime -= step
814 self.motions = []
815 - self.doc.stroke_to(dtime, *data)
816 +# self.doc.stroke_to(dtime, *data)
817 + if (not resistive) or (event.state & gdk.BUTTON1_MASK):
818 + #ignore movements without mouse on resistive screens
819 + self.doc.stroke_to(dtime, *data)
820
821 def button_press_cb(self, win, event):
822 @@ -241,4 +249,32 @@
823 dst = self.get_cursor_in_model_coordinates()
824 self.doc.straight_line(self.last_painting_pos, dst)
825 +
826 + if resistive:
827 + cr = self.get_model_coordinates_cairo_context()
828 + x, y = cr.device_to_user(event.x, event.y)
829 + if self.last_event_time:
830 + dtime = (event.time - self.last_event_time)/1000.0
831 + dx_int = int(event.x) - int(self.last_event_x)
832 + dy_int = int(event.y) - int(self.last_event_y)
833 + else:
834 + dtime = None
835 + self.doc.stroke_to(dtime, x, y, 0.0, 0.0, 0.0)
836 + #fake initial stroke point
837 + pressure = event.get_axis(gdk.AXIS_PRESSURE)
838 + if (pressure is None) or pressure == 0.0:
839 + pressure = 0.5
840 +
841 + if event.state & gdk.CONTROL_MASK:
842 + # color picking, do not paint
843 + return
844 +
845 + if self.pressure_mapping:
846 + pressure = self.pressure_mapping(pressure)
847 + if event.state & gdk.SHIFT_MASK:
848 + pressure = 0.0
849 +
850 + if pressure:
851 + self.last_painting_pos = x, y
852 + self.doc.stroke_to(dtime, x, y, pressure, 0.0, 0.0)
853
854 # mouse button pressed (while painting without pressure information)
855 @@ -250,4 +286,14 @@
856
857 def button_release_cb(self, win, event):
858 + if resistive:
859 + cr = self.get_model_coordinates_cairo_context()
860 + x, y = cr.device_to_user(event.x, event.y)
861 + if self.last_event_time:
862 + dtime = (event.time - self.last_event_time)/1000.0
863 + dx_int = int(event.x) - int(self.last_event_x)
864 + dy_int = int(event.y) - int(self.last_event_y)
865 + else:
866 + dtime = None
867 + self.doc.stroke_to(dtime, x, y, 0.0, 0.0, 0.0)
868 # (see comment above in button_press_cb)
869 if event.button == 1 and not self.last_event_had_pressure_info:
870 diff -r -U 2 -x '*.pyc' a/tests/brushes/charcoal.myb b/tests/brushes/charcoal.myb
871 --- a/tests/brushes/charcoal.myb 2010-10-30 21:27:59.000000000 +0200
872 +++ b/tests/brushes/charcoal.myb 2010-12-04 10:29:19.224503001 +0100
873 @@ -14,5 +14,5 @@
874 offset_by_speed 0.0
875 offset_by_speed_slowness 1.0
876 -slow_tracking 2.0
877 +slow_tracking 0.0
878 slow_tracking_per_dab 0.0
879 color_value 0.0
880 diff -r -U 2 -x '*.pyc' a/tests/brushes/s008.myb b/tests/brushes/s008.myb
881 --- a/tests/brushes/s008.myb 2010-10-30 21:27:59.000000000 +0200
882 +++ b/tests/brushes/s008.myb 2010-12-04 10:29:19.224503001 +0100
883 @@ -18,6 +18,6 @@
884 offset_by_speed 0.0
885 offset_by_speed_slowness 1.0
886 -slow_tracking 8.64
887 -slow_tracking_per_dab 1.44
888 +slow_tracking 0.0
889 +slow_tracking_per_dab 0.0
890 tracking_noise 0.0
891 color_h 0
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.