Cleanup: style

This commit is contained in:
Campbell Barton 2018-09-06 10:45:29 +10:00
parent 539c140b3e
commit fa6ed6259c
4 changed files with 6 additions and 6 deletions

View File

@ -577,8 +577,8 @@ static void EDIT_MESH_cache_populate(void *vedata, Object *ob)
bool show_face_dots = ((Mesh *)draw_ctx->object_edit->data)->drawflag & ME_DRAW_FACE_DOT;
if (stl->g_data->do_faces == false &&
stl->g_data->do_edges == false &&
(tsettings->selectmode & SCE_SELECT_FACE))
stl->g_data->do_edges == false &&
(tsettings->selectmode & SCE_SELECT_FACE))
{
/* Force display of face centers in this case because that's
* the only way to see if a face is selected. */

View File

@ -1679,9 +1679,9 @@ static void uv_weld_align(bContext *C, int tool)
/* we know the returns from these must be valid */
const float *uv_start = uv_sel_co_from_eve(
scene, obedit, ima, em, eve_line[0]);
scene, obedit, ima, em, eve_line[0]);
const float *uv_end = uv_sel_co_from_eve(
scene, obedit, ima, em, eve_line[BLI_array_len(eve_line) - 1]);
scene, obedit, ima, em, eve_line[BLI_array_len(eve_line) - 1]);
/* For t & u modes */
float a = 0.0f;
int tool_local = tool;

View File

@ -2432,7 +2432,7 @@ static void rna_def_tool_settings(BlenderRNA *brna)
"When creating new strokes, the weight data is added according to the current vertex group and weight, "
"if no vertex group selected, weight is not added");
RNA_def_property_update(prop, NC_SCENE | ND_TOOLSETTINGS, NULL);
prop = RNA_def_property(srna, "gpencil_sculpt", PROP_POINTER, PROP_NONE);
RNA_def_property_pointer_sdna(prop, NULL, "gp_sculpt");
RNA_def_property_struct_type(prop, "GPencilSculptSettings");

View File

@ -18,7 +18,7 @@
* ***** END GPL LICENSE BLOCK *****
*/
/** \file blender/python/gpu/gpu_py_api.h
/** \file blender/python/gpu/gpu_py_select.h
* \ingroup bpygpu
*/