forked from bartvdbraak/blender
fix own error in recent smoothview cleanup, also correct some cross references in bmesh docs.
This commit is contained in:
parent
9281f3e27e
commit
e9caa21830
@ -2139,7 +2139,7 @@ void CustomData_set(const CustomData *data, int index, int type, void *source)
|
||||
memcpy(dest, source, typeInfo->size);
|
||||
}
|
||||
|
||||
/*Bmesh functions*/
|
||||
/* BMesh functions */
|
||||
/* needed to convert to/from different face reps */
|
||||
void CustomData_to_bmeshpoly(CustomData *fdata, CustomData *pdata, CustomData *ldata,
|
||||
int totloop, int totpoly)
|
||||
|
@ -1946,7 +1946,7 @@ int bmesh_vert_separate(BMesh *bm, BMVert *v, BMVert ***r_vout, int *r_vout_len)
|
||||
}
|
||||
|
||||
/**
|
||||
* High level function which wraps both #bm_vert_separate and #bm_edge_separate
|
||||
* High level function which wraps both #bmesh_vert_separate and #bmesh_edge_separate
|
||||
*/
|
||||
int BM_vert_separate(BMesh *bm, BMVert *v, BMVert ***r_vout, int *r_vout_len,
|
||||
BMEdge **e_in, int e_in_len)
|
||||
|
@ -567,9 +567,9 @@ BMFace *BM_active_face_get(BMesh *bm, int sloppy)
|
||||
* These functions were written to be used by the Modifier widget
|
||||
* when in Rotate about active mode, but can be used anywhere.
|
||||
*
|
||||
* - #EM_editselection_center
|
||||
* - #EM_editselection_normal
|
||||
* - #EM_editselection_plane
|
||||
* - #BM_editselection_center
|
||||
* - #BM_editselection_normal
|
||||
* - #BM_editselection_plane
|
||||
*/
|
||||
void BM_editselection_center(BMEditSelection *ese, float r_center[3])
|
||||
{
|
||||
|
@ -384,7 +384,7 @@ BMFace *BM_face_split(BMesh *bm, BMFace *f, BMVert *v1, BMVert *v2, BMLoop **r_l
|
||||
* \param bm The bmesh
|
||||
* \param f the original face
|
||||
* \param v1, v2 vertices which define the split edge, must be different
|
||||
* \param co Array of coordinates for intermediate points
|
||||
* \param cos Array of coordinates for intermediate points
|
||||
* \param n Length of \a cos (must be > 0)
|
||||
* \param r_l pointer which will receive the BMLoop for the first split edge (from \a v1) in the new face
|
||||
* \param example Edge used for attributes of splitting edge, if non-NULL
|
||||
@ -888,6 +888,7 @@ int BM_edge_rotate_check(BMEdge *e)
|
||||
* 1) does the newly forms edge form a flipped face (compare with previous cross product)
|
||||
* 2) does the newly formed edge cause a zero area corner (or close enough to be almost zero)
|
||||
*
|
||||
* \param e The edge to test rotation.
|
||||
* \param l1,l2 are the loops of the proposed verts to rotate too and should
|
||||
* be the result of calling #BM_edge_calc_rotate
|
||||
*/
|
||||
|
@ -664,7 +664,8 @@ static int bm_face_goodline(float const (*projectverts)[3], BMFace *f, int v1i,
|
||||
* \brief Find Ear
|
||||
*
|
||||
* Used by tessellator to find the next triangle to 'clip off' of a polygon while tessellating.
|
||||
*
|
||||
* \param f The face to search.
|
||||
* \param verts an array of face vert coords.
|
||||
* \param use_beauty Currently only applies to quads, can be extended later on.
|
||||
* \param abscoss Must be allocated by caller, and at least f->len length
|
||||
* (allow to avoid allocating a new one for each tri!).
|
||||
|
@ -797,7 +797,6 @@ float BM_loop_calc_face_angle(BMLoop *l)
|
||||
*
|
||||
* Calculate the normal at this loop corner or fallback to the face normal on straight lines.
|
||||
*
|
||||
* \param bm The BMesh
|
||||
* \param l The loop to calculate the normal at
|
||||
* \param r_normal Resulting normal
|
||||
*/
|
||||
@ -821,7 +820,6 @@ void BM_loop_calc_face_normal(BMLoop *l, float r_normal[3])
|
||||
* Calculate the tangent at this loop corner or fallback to the face normal on straight lines.
|
||||
* This vector always points inward into the face.
|
||||
*
|
||||
* \param bm The BMesh
|
||||
* \param l The loop to calculate the tangent at
|
||||
* \param r_tangent Resulting tangent
|
||||
*/
|
||||
@ -881,6 +879,7 @@ float BM_edge_calc_face_angle(BMEdge *e)
|
||||
* \param e
|
||||
* \param e_loop The loop to calculate the tangent at,
|
||||
* used to get the face and winding direction.
|
||||
* \param r_tangent The loop corner tangent to set
|
||||
*/
|
||||
|
||||
void BM_edge_calc_face_tangent(BMEdge *e, BMLoop *e_loop, float r_tangent[3])
|
||||
|
@ -1585,7 +1585,7 @@ void ARMATURE_OT_select_linked(wmOperatorType *ot)
|
||||
/* flags */
|
||||
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
|
||||
|
||||
/* properties s*/
|
||||
/* properties */
|
||||
RNA_def_boolean(ot->srna, "extend", FALSE, "Extend", "Extend selection instead of deselecting everything first");
|
||||
}
|
||||
|
||||
|
@ -308,7 +308,7 @@ static int view3d_smoothview_invoke(bContext *C, wmOperator *UNUSED(op), wmEvent
|
||||
|
||||
step_inv = 1.0f - step;
|
||||
|
||||
interp_v3_v3v3(rv3d->ofs, sms->new_ofs, sms->orig_ofs, step);
|
||||
interp_v3_v3v3(rv3d->ofs, sms->orig_ofs, sms->new_ofs, step);
|
||||
interp_qt_qtqt(rv3d->viewquat, sms->orig_quat, sms->new_quat, step);
|
||||
|
||||
rv3d->dist = sms->new_dist * step + sms->orig_dist * step_inv;
|
||||
|
Loading…
Reference in New Issue
Block a user