Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-10-13 19:59:03 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-10-13 19:59:03 +0400
commitbcee57e74e587260f2a7050b3b8a1894fe592466 (patch)
tree96a48a5c9b1175e69ef1b19eae7daa479d72e765 /source/blender/editors/mask/mask_intern.h
parent99a386da9ecc2cd3bdf2f1149e1a7de578190c56 (diff)
Roto: Improve spline sliding vs. curvature detection
If the mouse is closer to the spline than to it's center do a spline curvature correction operator instead.
Diffstat (limited to 'source/blender/editors/mask/mask_intern.h')
-rw-r--r--source/blender/editors/mask/mask_intern.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mask/mask_intern.h b/source/blender/editors/mask/mask_intern.h
index 6899cf7e6f5..af91afe838a 100644
--- a/source/blender/editors/mask/mask_intern.h
+++ b/source/blender/editors/mask/mask_intern.h
@@ -49,7 +49,8 @@ bool ED_mask_find_nearest_diff_point(const struct bContext *C,
struct MaskSplinePoint **point_r,
float *u_r, float tangent[2],
const bool use_deform,
- const bool use_project);
+ const bool use_project,
+ float *score_r);
void MASK_OT_add_vertex(struct wmOperatorType *ot);
void MASK_OT_add_feather_vertex(struct wmOperatorType *ot);