Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/transform/transform_convert.h
| Show First 20 Lines • Show All 78 Lines • ▼ Show 20 Lines | |||||
| bool transform_mode_use_local_origins(const TransInfo *t); | bool transform_mode_use_local_origins(const TransInfo *t); | ||||
| /** | /** | ||||
| * Transforming around ourselves is no use, fallback to individual origins, | * Transforming around ourselves is no use, fallback to individual origins, | ||||
| * useful for curve/armatures. | * useful for curve/armatures. | ||||
| */ | */ | ||||
| void transform_around_single_fallback_ex(TransInfo *t, int data_len_all); | void transform_around_single_fallback_ex(TransInfo *t, int data_len_all); | ||||
| void transform_around_single_fallback(TransInfo *t); | void transform_around_single_fallback(TransInfo *t); | ||||
| /** | /** | ||||
| * Called during special_aftertrans_update to make sure selected keyframes replace | |||||
| * any other keyframes which may reside on that frame (that is not selected). | |||||
| * | |||||
| * \param sel_flag: The flag (bezt.f1/2/3) value to use to determine selection. Usually `SELECT`, | |||||
| * but may want to use a different one at times (if caller does not operate on | |||||
| * selection). | |||||
| */ | |||||
| void posttrans_fcurve_clean(struct FCurve *fcu, int sel_flag, bool use_handle); | |||||
| /** | |||||
| * Little helper function for ObjectToTransData used to give certain | * Little helper function for ObjectToTransData used to give certain | ||||
| * constraints (ChildOf, FollowPath, and others that may be added) | * constraints (ChildOf, FollowPath, and others that may be added) | ||||
| * inverse corrections for transform, so that they aren't in CrazySpace. | * inverse corrections for transform, so that they aren't in CrazySpace. | ||||
| * These particular constraints benefit from this, but others don't, hence | * These particular constraints benefit from this, but others don't, hence | ||||
| * this semi-hack ;-) - Aligorith | * this semi-hack ;-) - Aligorith | ||||
| */ | */ | ||||
| bool constraints_list_needinv(TransInfo *t, ListBase *list); | bool constraints_list_needinv(TransInfo *t, ListBase *list); | ||||
| void calc_distanceCurveVerts(TransData *head, TransData *tail, bool cyclic); | void calc_distanceCurveVerts(TransData *head, TransData *tail, bool cyclic); | ||||
| ▲ Show 20 Lines • Show All 184 Lines • Show Last 20 Lines | |||||