style cleanup
This commit is contained in:
@@ -906,8 +906,8 @@ static int area_dupli_invoke(bContext *C, wmOperator *op, const wmEvent *event)
|
||||
/* adds window to WM */
|
||||
rect = sa->totrct;
|
||||
BLI_rcti_translate(&rect, win->posx, win->posy);
|
||||
rect.xmax = rect.xmin + BLI_rcti_size_x(&rect)/U.pixelsize;
|
||||
rect.ymax = rect.ymin + BLI_rcti_size_y(&rect)/U.pixelsize;
|
||||
rect.xmax = rect.xmin + BLI_rcti_size_x(&rect) / U.pixelsize;
|
||||
rect.ymax = rect.ymin + BLI_rcti_size_y(&rect) / U.pixelsize;
|
||||
|
||||
newwin = WM_window_open(C, &rect);
|
||||
|
||||
|
@@ -4186,8 +4186,8 @@ static void p_add_ngon(ParamHandle *handle, ParamKey key, int nverts,
|
||||
|
||||
normal_tri_v3(n, co[v0], co[v1], co[v2]);
|
||||
|
||||
if(normal && (dot_v3v3(n, normal) < 0.0f))
|
||||
angle = 2.0f*M_PI - angle;
|
||||
if (normal && (dot_v3v3(n, normal) < 0.0f))
|
||||
angle = (float)(2.0 * M_PI) - angle;
|
||||
|
||||
if (angle < minangle) {
|
||||
minangle = angle;
|
||||
@@ -4211,8 +4211,8 @@ static void p_add_ngon(ParamHandle *handle, ParamKey key, int nverts,
|
||||
}
|
||||
|
||||
/* remove corner */
|
||||
if(mini + 1 < nverts)
|
||||
memmove(boundary + mini, boundary + mini + 1, (nverts - mini - 1)*sizeof(int));
|
||||
if (mini + 1 < nverts)
|
||||
memmove(boundary + mini, boundary + mini + 1, (nverts - mini - 1) * sizeof(int));
|
||||
|
||||
nverts--;
|
||||
}
|
||||
|
@@ -256,7 +256,7 @@ static ParamHandle *construct_param_handle(Scene *scene, Object *ob, BMEditMesh
|
||||
ParamKey key;
|
||||
ParamKey *vkeys = BLI_array_alloca(vkeys, efa->len);
|
||||
ParamBool *pin = BLI_array_alloca(pin, efa->len);
|
||||
ParamBool *select= BLI_array_alloca(select, efa->len);
|
||||
ParamBool *select = BLI_array_alloca(select, efa->len);
|
||||
float **co = BLI_array_alloca(co, efa->len);
|
||||
float **uv = BLI_array_alloca(uv, efa->len);
|
||||
int i, lsel;
|
||||
|
Reference in New Issue
Block a user