Cleanup: formatting, strip trailing space

This commit is contained in:
Campbell Barton 2020-03-05 08:05:21 +11:00
parent a297a6c444
commit 5b0f1e7649
16 changed files with 15033 additions and 15038 deletions

View File

@ -18,4 +18,4 @@
#if defined(i386) || defined(_M_IX86) || defined(__x86_64__) || defined(_M_X64)
# include "util_avxf_test.h"
#endif
#endif

View File

@ -275,7 +275,7 @@ class SpellChecker:
"scalings",
"selectable", "selectability",
"shaper",
"smoothen", "smoothening",
"smoothen", "smoothening",
"spherize", "spherized",
"stitchable",
"symmetrize",

View File

@ -639,7 +639,7 @@ def brush_settings(layout, context, brush, popover=False):
layout.prop(brush, "cloth_mass")
layout.prop(brush, "cloth_damping")
layout.separator()
if brush.sculpt_tool == 'SCRAPE':
row = layout.row()
row.prop(brush, "area_radius_factor", slider=True)

View File

@ -67,7 +67,7 @@ class VIEWLAYER_PT_eevee_layer_passes_data(ViewLayerButtonsPanel, Panel):
bl_parent_id = "VIEWLAYER_PT_eevee_layer_passes"
COMPAT_ENGINES = {'BLENDER_EEVEE'}
def draw(self, context):
layout = self.layout
layout.use_property_split = True

View File

@ -1870,7 +1870,7 @@ classes = (
VIEW3D_PT_tools_curveedit_options_stroke,
VIEW3D_PT_tools_armatureedit_options,
VIEW3D_PT_tools_posemode_options,
VIEW3D_PT_slots_projectpaint,
VIEW3D_PT_tools_brush_select,
VIEW3D_PT_tools_brush_settings,
@ -1910,7 +1910,7 @@ classes = (
VIEW3D_PT_tools_imagepaint_symmetry,
VIEW3D_PT_tools_imagepaint_options,
VIEW3D_PT_tools_imagepaint_options_external,
VIEW3D_MT_tools_projectpaint_stencil,

View File

@ -49,9 +49,7 @@ void BKE_cachefile_copy_data(struct Main *bmain,
const int flag);
struct CacheFile *BKE_cachefile_copy(struct Main *bmain, const struct CacheFile *cache_file);
void BKE_cachefile_make_local(struct Main *bmain,
struct CacheFile *cache_file,
const int flags);
void BKE_cachefile_make_local(struct Main *bmain, struct CacheFile *cache_file, const int flags);
void BKE_cachefile_reload(struct Depsgraph *depsgraph, struct CacheFile *cache_file);

View File

@ -60,9 +60,7 @@ void BKE_collection_copy_data(struct Main *bmain,
struct Collection *collection_dst,
const struct Collection *collection_src,
const int flag);
void BKE_collection_make_local(struct Main *bmain,
struct Collection *collection,
const int flags);
void BKE_collection_make_local(struct Main *bmain, struct Collection *collection, const int flags);
struct Collection *BKE_collection_duplicate(struct Main *bmain,
struct Collection *parent,

View File

@ -780,4 +780,4 @@ void BLI_box_pack_2d_fixedarea(ListBase *boxes, int width, int height, ListBase
}
BLI_freelistN(&spaces);
}
}

View File

@ -2,4 +2,4 @@
void main()
{
/* Passthrough shader. */
}
}

View File

@ -56,4 +56,4 @@ void main()
EmitVertex();
}
EndPrimitive();
}
}

View File

@ -477,4 +477,4 @@ void EEVEE_renderpasses_draw_debug(EEVEE_Data *vedata)
if (tx) {
DRW_transform_none(tx);
}
}
}

View File

@ -55,4 +55,4 @@ void main()
}
fragColor.r = accum_light / float(laNumLight);
}
}

File diff suppressed because it is too large Load Diff

View File

@ -215,7 +215,7 @@ static void waveModifier_do(WaveModifierData *md,
/* get weights */
if (dvert) {
def_weight = invert_group ? 1.0f - defvert_find_weight(&dvert[i], defgrp_index) :
defvert_find_weight(&dvert[i], defgrp_index);
defvert_find_weight(&dvert[i], defgrp_index);
/* if this vert isn't in the vgroup, don't deform it */
if (def_weight == 0.0f) {

View File

@ -27,4 +27,3 @@ import numpy
import sqlite3
import ssl
import zlib

View File

@ -110,7 +110,7 @@ class TestIdAddNameManagement(TestHelper, unittest.TestCase):
data = self.add_to_container(name="%s.%.3d" % (self.default_name, 0))
self.assertEqual(data.name, self.default_name + ".003")
self.assertEqual(len(self.data_container), 6)
self.ensure_proper_order()