Cleanup: indentation, trailing space
This commit is contained in:
@@ -628,7 +628,8 @@ SubdivCCG *BKE_subdiv_to_ccg(
|
|||||||
subdiv_ccg_init_faces(subdiv_ccg);
|
subdiv_ccg_init_faces(subdiv_ccg);
|
||||||
subdiv_ccg_init_faces_neighborhood(subdiv_ccg);
|
subdiv_ccg_init_faces_neighborhood(subdiv_ccg);
|
||||||
if (!subdiv_ccg_evaluate_grids(
|
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_ccg_destroy(subdiv_ccg);
|
||||||
BKE_subdiv_stats_end(&subdiv->stats, SUBDIV_STATS_SUBDIV_TO_CCG);
|
BKE_subdiv_stats_end(&subdiv->stats, SUBDIV_STATS_SUBDIV_TO_CCG);
|
||||||
return NULL;
|
return NULL;
|
||||||
|
@@ -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? */
|
/* Have we dragged off the zone and are not on an edge? */
|
||||||
if ((ED_area_actionzone_find_xy(sad->sa1, &event->x) != sad->az) &&
|
if ((ED_area_actionzone_find_xy(sad->sa1, &event->x) != sad->az) &&
|
||||||
(screen_geom_area_map_find_active_scredge(
|
(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? */
|
/* Are we still in same area? */
|
||||||
if (BKE_screen_find_area_xy(sc, SPACE_TYPE_ANY, event->x, event->y) == sad->sa1) {
|
if (BKE_screen_find_area_xy(sc, SPACE_TYPE_ANY, event->x, event->y) == sad->sa1) {
|
||||||
/* Same area, so possible split. */
|
/* Same area, so possible split. */
|
||||||
|
@@ -21,8 +21,8 @@
|
|||||||
#ifndef __DNA_UTILS_H__
|
#ifndef __DNA_UTILS_H__
|
||||||
#define __DNA_UTILS_H__
|
#define __DNA_UTILS_H__
|
||||||
|
|
||||||
struct MemArena;
|
|
||||||
struct GHash;
|
struct GHash;
|
||||||
|
struct MemArena;
|
||||||
|
|
||||||
int DNA_elem_array_size(const char *str);
|
int DNA_elem_array_size(const char *str);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user