Cleanup: indentation, trailing space

This commit is contained in:
2019-02-26 14:31:14 +11:00
parent 1de11c38d4
commit 186bd4d87b
12 changed files with 48 additions and 46 deletions

View File

@@ -628,7 +628,8 @@ SubdivCCG *BKE_subdiv_to_ccg(
subdiv_ccg_init_faces(subdiv_ccg);
subdiv_ccg_init_faces_neighborhood(subdiv_ccg);
if (!subdiv_ccg_evaluate_grids(
subdiv_ccg, subdiv, mask_evaluator, material_flags_evaluator)) {
subdiv_ccg, subdiv, mask_evaluator, material_flags_evaluator))
{
BKE_subdiv_ccg_destroy(subdiv_ccg);
BKE_subdiv_stats_end(&subdiv->stats, SUBDIV_STATS_SUBDIV_TO_CCG);
return NULL;

View File

@@ -965,7 +965,8 @@ static int actionzone_modal(bContext *C, wmOperator *op, const wmEvent *event)
/* Have we dragged off the zone and are not on an edge? */
if ((ED_area_actionzone_find_xy(sad->sa1, &event->x) != sad->az) &&
(screen_geom_area_map_find_active_scredge(
AREAMAP_FROM_SCREEN(sc), &screen_rect, event->x, event->y) == NULL)) {
AREAMAP_FROM_SCREEN(sc), &screen_rect, event->x, event->y) == NULL))
{
/* Are we still in same area? */
if (BKE_screen_find_area_xy(sc, SPACE_TYPE_ANY, event->x, event->y) == sad->sa1) {
/* Same area, so possible split. */

View File

@@ -21,8 +21,8 @@
#ifndef __DNA_UTILS_H__
#define __DNA_UTILS_H__
struct MemArena;
struct GHash;
struct MemArena;
int DNA_elem_array_size(const char *str);