Blender Git Loki

Git Commits -> Revision 4e99116

Revision 4e99116 by Habib Gahbiche (master)
November 7, 2018, 00:56 (GMT)
Multi-Objects: CURVE_OT_select_similar

Implemented the following methods:
* SIMCURHAND_TYPE
* SIMCURHAND_RADIUS
* SIMCURHAND_WEIGHT
* SIMCURHAND_DIRECTION

Limits:
* DIRECTION does not support surfaces, because `BKE_nurb_bpoint_calc_normal`
does not work with Nurbs of type `CU_CARDINAL`. This also didn't work prior
to this patch, so we wait until surfaces are properly supported in EditMode.

* Also DIRECTION should take scaling into consideration. We need our own
versions of BKE_nurb_bpoint_calc_normal/bezt.

* Threshold default is too large. Not sure if it's better to change the default
or scale the threshold in code.

Differential Revision: https://developer.blender.org/D3846

Changes from committer (Dalai Felinto):
* Moved nurb_bpoint_direction_worldspace_get/bezt to functions.
* Comments hinting at the mode (direction) that require scaling to be
taken into account - to be addressed by patch creator in a future
patch.

Commit Details:

Full Hash: 4e9911663a22766f6751d33ae84c1ebcc1fae559
Parent Commit: c19dafd
Committed By: Dalai Felinto
Lines Changed: +330, -271

5 Modified Paths:

/source/blender/editors/curve/editcurve_select.c (+256, -208) (Diff)
/source/blender/editors/include/ED_curve.h (+1, -0) (Diff)
/source/blender/editors/include/ED_select_utils.h (+11, -0) (Diff)
/source/blender/editors/mesh/editmesh_select_similar.c (+7, -63) (Diff)
/source/blender/editors/util/select_utils.c (+55, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021