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_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;
|
||||
|
@@ -2135,7 +2135,7 @@ static void *read_struct(FileData *fd, BHead *bh, const char *blockname)
|
||||
if (bh->len) {
|
||||
#ifdef USE_BHEAD_READ_ON_DEMAND
|
||||
BHead *bh_orig = bh;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* switch is based on file dna */
|
||||
if (bh->SDNAnr && (fd->flags & FD_FLAGS_SWITCH_ENDIAN)) {
|
||||
@@ -2147,7 +2147,7 @@ static void *read_struct(FileData *fd, BHead *bh, const char *blockname)
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
switch_endian_structs(fd->filesdna, bh);
|
||||
}
|
||||
|
||||
|
@@ -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. */
|
||||
|
@@ -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);
|
||||
|
||||
|
@@ -6380,7 +6380,7 @@ static void rna_array_as_string_recursive(
|
||||
if (totdim > 1) {
|
||||
totdim--;
|
||||
const int end = dim_size[totdim] - 1;
|
||||
for (int i = 0; i <= end; i++){
|
||||
for (int i = 0; i <= end; i++) {
|
||||
rna_array_as_string_recursive(type, buf_p, totdim, dim_size, dynstr);
|
||||
if (i < end || !end) {
|
||||
BLI_dynstr_append(dynstr, ", ");
|
||||
|
Reference in New Issue
Block a user