Cleanup: style
authorCampbell Barton <ideasman42@gmail.com>
Thu, 6 Sep 2018 00:45:29 +0000 (10:45 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 6 Sep 2018 00:47:46 +0000 (10:47 +1000)
source/blender/draw/modes/edit_mesh_mode.c
source/blender/editors/uvedit/uvedit_ops.c
source/blender/makesrna/intern/rna_scene.c
source/blender/python/gpu/gpu_py_select.h

index 2a70d42627283abea5a5e703c34179f1e0b88e69..30049bd701a092e6d6579460c912e6fa6fd3ad7a 100644 (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. */
index b6b5e75b104a90a993d7752074f95893f412c769..042d77b479b9d5178a133d247cd907e04982af83 100644 (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;
index 7f2eeba98508a93e13af128f384fa2aa764fa4cf..3a8f097d808969188b8e135b0fd71c7a3e4732e9 100644 (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");
index af39f8c070ed44e193b3aa71a72ce85fd7fcf3cd..11daf2ade648409d451263a6dfe178dbfba9b447 100644 (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
  */