forked from bartvdbraak/blender
cleanup: style
This commit is contained in:
parent
8ebb552a95
commit
9fadacfd0f
@ -3081,7 +3081,7 @@ static BevVert *bevel_vert_construct(BMesh *bm, BevelParams *bp, BMVert *v)
|
|||||||
}
|
}
|
||||||
else if (bp->vertex_only) {
|
else if (bp->vertex_only) {
|
||||||
/* Weight has already been applied to bv->offset, if present.
|
/* Weight has already been applied to bv->offset, if present.
|
||||||
* Transfer to e->offset_[lr]_spec and treat percet as special case */
|
* Transfer to e->offset_[lr]_spec and treat percent as special case */
|
||||||
if (bp->offset_type == BEVEL_AMT_PERCENT) {
|
if (bp->offset_type == BEVEL_AMT_PERCENT) {
|
||||||
v2 = BM_edge_other_vert(e->e, bv->v);
|
v2 = BM_edge_other_vert(e->e, bv->v);
|
||||||
e->offset_l_spec = BM_edge_calc_length(e->e) * bv->offset / 100.0f;
|
e->offset_l_spec = BM_edge_calc_length(e->e) * bv->offset / 100.0f;
|
||||||
|
@ -1553,7 +1553,7 @@ void text_update_cursor_moved(bContext *C)
|
|||||||
/**
|
/**
|
||||||
* Takes a cursor (row, character) and returns x,y pixel coords.
|
* Takes a cursor (row, character) and returns x,y pixel coords.
|
||||||
*/
|
*/
|
||||||
bool ED_text_region_location_from_cursor(SpaceText *st, ARegion* ar, const int cursor_co[2], int r_pixel_co[2])
|
bool ED_text_region_location_from_cursor(SpaceText *st, ARegion *ar, const int cursor_co[2], int r_pixel_co[2])
|
||||||
{
|
{
|
||||||
TextLine *line = NULL;
|
TextLine *line = NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user