[Bf-blender-cvs] [eececb0] master: Curve Drawing: use more closely spaced samples
Campbell Barton
noreply at git.blender.org
Mon Jul 25 22:43:12 CEST 2016
Commit: eececb0d8036bfcf048a3f1e47e8033e21bf86a9
Author: Campbell Barton
Date: Tue Jul 26 06:42:24 2016 +1000
Branches: master
https://developer.blender.org/rBeececb0d8036bfcf048a3f1e47e8033e21bf86a9
Curve Drawing: use more closely spaced samples
Re-fitting makes better use of more samples.
===================================================================
M source/blender/editors/curve/editcurve_paint.c
===================================================================
diff --git a/source/blender/editors/curve/editcurve_paint.c b/source/blender/editors/curve/editcurve_paint.c
index 4d0a2fa..2d8fc76 100644
--- a/source/blender/editors/curve/editcurve_paint.c
+++ b/source/blender/editors/curve/editcurve_paint.c
@@ -64,8 +64,8 @@
#endif
/* Distance between input samples */
-#define STROKE_SAMPLE_DIST_MIN_PX 3
-#define STROKE_SAMPLE_DIST_MAX_PX 6
+#define STROKE_SAMPLE_DIST_MIN_PX 1
+#define STROKE_SAMPLE_DIST_MAX_PX 3
/* Distance between start/end points to consider cyclic */
#define STROKE_CYCLIC_DIST_PX 8
More information about the Bf-blender-cvs
mailing list