OSDN Git Service
(root)
/
mypaint-anime
/
master.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966be9d
)
Brush strokes are split immediately when button is released.
author
sigetch
<sigetch@users.sourceforge.jp>
Sun, 25 Sep 2011 12:39:42 +0000
(21:39 +0900)
committer
sigetch
<sigetch@users.sourceforge.jp>
Wed, 5 Oct 2011 15:22:27 +0000
(
00:22
+0900)
brushlib/brush.hpp
patch
|
blob
|
history
diff --git
a/brushlib/brush.hpp
b/brushlib/brush.hpp
index
8baee11
..
d488839
100644
(file)
--- a/
brushlib/brush.hpp
+++ b/
brushlib/brush.hpp
@@
-771,9
+771,9
@@
public:
// Usually we have pressure==0 here. But some brushes can paint
// nothing at full pressure (eg gappy lines, or a stroke that
// fades out). In either case this is the prefered moment to split.
- if (stroke_total_painting_time+stroke_current_idling_time > 0.9 + 5*pressure) {
+
//
if (stroke_total_painting_time+stroke_current_idling_time > 0.9 + 5*pressure) {
return true;
- }
+
//
}
}
}
return false;