OSDN Git Service

Brush strokes are split immediately when button is released.
authorsigetch <sigetch@users.sourceforge.jp>
Sun, 25 Sep 2011 12:39:42 +0000 (21:39 +0900)
committersigetch <sigetch@users.sourceforge.jp>
Wed, 5 Oct 2011 15:22:27 +0000 (00:22 +0900)
brushlib/brush.hpp

index 8baee11..d488839 100644 (file)
@@ -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;