Cleanup: trailing space, remove tabs, pep8
authorCampbell Barton <ideasman42@gmail.com>
Mon, 9 Sep 2019 20:11:52 +0000 (06:11 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Mon, 9 Sep 2019 20:17:59 +0000 (06:17 +1000)
29 files changed:
build_files/cmake/macros.cmake
doc/python_api/examples/bpy.types.Depsgraph.1.py
doc/python_api/examples/bpy.types.UIList.2.py
intern/cycles/blender/blender_viewport.h
release/datafiles/blender_icons_geom.py
release/scripts/freestyle/styles/apriori_density.py
release/scripts/modules/bl_i18n_utils/utils_rtl.py
release/scripts/modules/rna_info.py
release/scripts/presets/keyconfig/keymap_data/blender_default.py
release/scripts/startup/bl_operators/mask.py
release/scripts/startup/bl_operators/presets.py
release/scripts/startup/bl_operators/uvcalc_smart_project.py
release/scripts/startup/bl_ui/properties_data_gpencil.py
release/scripts/startup/bl_ui/properties_data_mesh.py
release/scripts/startup/bl_ui/properties_data_modifier.py
release/scripts/startup/bl_ui/properties_grease_pencil_common.py
release/scripts/startup/bl_ui/properties_material_gpencil.py
release/scripts/startup/bl_ui/space_clip.py
release/scripts/startup/bl_ui/space_console.py
release/scripts/startup/bl_ui/space_filebrowser.py
release/scripts/startup/bl_ui/space_info.py
release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
release/scripts/startup/bl_ui/space_view3d.py
release/scripts/startup/bl_ui/space_view3d_toolbar.py
source/blender/draw/engines/eevee/eevee_sampling.c
source/blender/draw/engines/eevee/eevee_shadows.c
source/blender/draw/engines/eevee/eevee_shadows_cascade.c
source/blender/draw/modes/shaders/paint_face_vert.glsl
source/blender/python/rna_dump.py

index f6756cb514cef45f15d95c2dfd9bcf5fdbceeb6b..e159dd9e5ee8ad2f43ce04744a5832293b84038c 100644 (file)
@@ -719,7 +719,7 @@ macro(remove_strict_flags)
   endif()
 
   if(MSVC)
-    remove_cc_flag(/w34189) # Restore warn C4189 (unused variable) back to w4 
+    remove_cc_flag(/w34189) # Restore warn C4189 (unused variable) back to w4
   endif()
 
 endmacro()
index 7425c0db15f5255192d88320286d2f368728c499..e3f35c53bc5f2d93179fd278d659372e135f798d 100644 (file)
@@ -35,7 +35,7 @@ class OBJECT_OT_evaluated_example(bpy.types.Operator):
         # modifiers.
         #
         # For mesh objects the object.data will be a mesh with all modifiers applied.
-        # This means that in access to vertices or faces after modifier stack happens via fields of 
+        # This means that in access to vertices or faces after modifier stack happens via fields of
         # object_eval.object.
         #
         # For other types of objects the object_eval.data does not have modifiers applied on it,
index 6c2b113932a1812da5006151550b9997f1548d22..5f3ecbf116c57906f3dac805e4e475e9294c7262 100644 (file)
@@ -210,4 +210,3 @@ def unregister():
 
 if __name__ == "__main__":
     register()
-
index 10e89f16e7bfe29512d764354f14892588a8d311..6b2f8ea42156cb555113368176f48f0b2bd98885 100644 (file)
@@ -45,4 +45,4 @@ class BlenderViewportParameters {
 
 CCL_NAMESPACE_END
 
-#endif
\ No newline at end of file
+#endif
index 644d075623419766b9a78dabfa9e40571eca9de2..b2f029ee511cfd127adcf6a4152c482c48372622 100644 (file)
@@ -46,7 +46,7 @@ import bpy
 # Generic functions
 
 def area_tri_signed_2x_v2(v1, v2, v3):
-       return (v1[0] - v2[0]) * (v2[1] - v3[1]) + (v1[1] - v2[1]) * (v3[0] - v2[0])
+    return (v1[0] - v2[0]) * (v2[1] - v3[1]) + (v1[1] - v2[1]) * (v3[0] - v2[0])
 
 
 class TriMesh:
index 1de2c4c033457e302c229c3c7014b55c0b8010d7..ad5e610e42285d5f9846ad9d622f02d962434f82 100644 (file)
@@ -41,8 +41,8 @@ Operators.select(AndUP1D(QuantitativeInvisibilityUP1D(0), pyHighViewMapDensityUP
 bpred = TrueBP1D()
 upred = AndUP1D(QuantitativeInvisibilityUP1D(0), pyHighViewMapDensityUP1D(0.0007,5))
 Operators.bidirectional_chain(ChainPredicateIterator(upred, bpred), NotUP1D(QuantitativeInvisibilityUP1D(0)))
-shaders_list =         [
+shaders_list = [
     ConstantThicknessShader(2),
     ConstantColorShader(0.0, 0.0, 0.0, 1.0)
-    ]
+]
 Operators.create(TrueUP1D(), shaders_list)
index 11d1da068b4e37a251e81d992726a5383c7e608e..1a71bb735bc254c521f8a341bf29e73a730ba9e5 100755 (executable)
@@ -37,29 +37,29 @@ import ctypes
 import re
 
 
-#define FRIBIDI_MASK_NEUTRAL   0x00000040L     /* Is neutral */
+#define FRIBIDI_MASK_NEUTRAL    0x00000040L /* Is neutral */
 FRIBIDI_PAR_ON = 0x00000040
 
 
-#define FRIBIDI_FLAG_SHAPE_MIRRORING   0x00000001
-#define FRIBIDI_FLAG_REORDER_NSM       0x00000002
+#define FRIBIDI_FLAG_SHAPE_MIRRORING    0x00000001
+#define FRIBIDI_FLAG_REORDER_NSM    0x00000002
 
-#define FRIBIDI_FLAG_SHAPE_ARAB_PRES   0x00000100
-#define FRIBIDI_FLAG_SHAPE_ARAB_LIGA   0x00000200
-#define FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE        0x00000400
+#define FRIBIDI_FLAG_SHAPE_ARAB_PRES    0x00000100
+#define FRIBIDI_FLAG_SHAPE_ARAB_LIGA    0x00000200
+#define FRIBIDI_FLAG_SHAPE_ARAB_CONSOLE 0x00000400
 
-#define FRIBIDI_FLAG_REMOVE_BIDI       0x00010000
-#define FRIBIDI_FLAG_REMOVE_JOINING    0x00020000
-#define FRIBIDI_FLAG_REMOVE_SPECIALS   0x00040000
+#define FRIBIDI_FLAG_REMOVE_BIDI    0x00010000
+#define FRIBIDI_FLAG_REMOVE_JOINING 0x00020000
+#define FRIBIDI_FLAG_REMOVE_SPECIALS    0x00040000
 
-#define FRIBIDI_FLAGS_DEFAULT          ( \
-#      FRIBIDI_FLAG_SHAPE_MIRRORING    | \
-#      FRIBIDI_FLAG_REORDER_NSM        | \
-#      FRIBIDI_FLAG_REMOVE_SPECIALS    )
+#define FRIBIDI_FLAGS_DEFAULT       ( \
+#   FRIBIDI_FLAG_SHAPE_MIRRORING    | \
+#   FRIBIDI_FLAG_REORDER_NSM    | \
+#   FRIBIDI_FLAG_REMOVE_SPECIALS    )
 
-#define FRIBIDI_FLAGS_ARABIC           ( \
-#      FRIBIDI_FLAG_SHAPE_ARAB_PRES    | \
-#      FRIBIDI_FLAG_SHAPE_ARAB_LIGA    )
+#define FRIBIDI_FLAGS_ARABIC        ( \
+#   FRIBIDI_FLAG_SHAPE_ARAB_PRES    | \
+#   FRIBIDI_FLAG_SHAPE_ARAB_LIGA    )
 
 FRIBIDI_FLAG_SHAPE_MIRRORING = 0x00000001
 FRIBIDI_FLAG_REORDER_NSM = 0x00000002
index 6f51dcf3aeb511ead384988ea3117b06e39dfb92..8a46246cf91055e0d93cd45a31977dc14b240c2b 100644 (file)
@@ -542,7 +542,7 @@ def BuildRNAInfo():
     # Use for faster lookups
     # use rna_struct.identifier as the key for each dict
     rna_struct_dict = {}  # store identifier:rna lookups
-    rna_full_path_dict = {}     # store the result of full_rna_struct_path(rna_struct)
+    rna_full_path_dict = {}  # store the result of full_rna_struct_path(rna_struct)
     rna_children_dict = {}  # store all rna_structs nested from here
     rna_references_dict = {}  # store a list of rna path strings that reference this type
     # rna_functions_dict = {}  # store all functions directly in this type (not inherited)
index 328edf3a1fbd8038f8e186ebdbf2d1c55c4e0fe0..0bc1219fa4d82935bd9f23bc23f8537a9efd3473 100644 (file)
@@ -3166,7 +3166,7 @@ def km_grease_pencil_stroke_paint_draw_brush(params):
         ("gpencil.draw", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
          {"properties": [("mode", 'ERASER'), ("wait_for_input", False)]}),
         # Constrain Guides Speedlines
-               # Freehand
+        # Freehand
         ("gpencil.draw", {"type": 'O', "value": 'PRESS'}, None),
         ("gpencil.draw", {"type": 'J', "value": 'PRESS'}, None),
         ("gpencil.draw", {"type": 'J', "value": 'PRESS', "alt": True}, None),
@@ -3178,11 +3178,11 @@ def km_grease_pencil_stroke_paint_draw_brush(params):
         ("gpencil.draw", {"type": 'L', "value": 'PRESS', "alt": True}, None),
         ("gpencil.draw", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
         ("gpencil.draw", {"type": 'V', "value": 'PRESS'}, None),
-               # Mirror or flip
+        # Mirror or flip
         ("gpencil.draw", {"type": 'M', "value": 'PRESS'}, None),
-               # Mode
+        # Mode
         ("gpencil.draw", {"type": 'C', "value": 'PRESS'}, None),
-               # Set reference point
+        # Set reference point
         ("gpencil.draw", {"type": 'C', "value": 'PRESS', "alt": True}, None),
         # Tablet Mappings for Drawing ------------------ */
         # For now, only support direct drawing using the eraser, as most users using a tablet
index 68f926c636b95a7e0b773a1819d163a154840583..2635f535b0b0df0bf08b0edecc16a0a2e7420b6e 100644 (file)
@@ -20,7 +20,7 @@
 
 from bpy.types import Menu
 from bpy.app.translations import contexts as i18n_contexts
+
 
 class MASK_MT_add(Menu):
     bl_idname = "MASK_MT_add"
index 097b93ea9ca64e5c41a0040ba17f0a2080d84f13..661a7bd4aeaa4aabf7acb85e9cc049df9da754b2 100644 (file)
@@ -670,9 +670,9 @@ class AddPresetGpencilMaterial(AddPresetBase, Operator):
         "gpcolor.stroke_image",
         "gpcolor.pixel_size",
         "gpcolor.use_stroke_pattern",
-               "gpcolor.use_stroke_texture_mix",
-               "gpcolor.mix_stroke_factor",
-               "gpcolor.alignment_mode",
+        "gpcolor.use_stroke_texture_mix",
+        "gpcolor.mix_stroke_factor",
+        "gpcolor.alignment_mode",
         "gpcolor.fill_style",
         "gpcolor.fill_color",
         "gpcolor.fill_image",
index fdf74c420a977fcc7294ecb7e04d0f7986b20d75..4e61874b44068df1b1251633137ebcd1cfe15778 100644 (file)
@@ -55,10 +55,10 @@ def pointInTri2D(v, v1, v2, v3):
         x= key[i]
         y= key[i+1]
 
-        if xmax<x:     xmax= x
-        if ymax<y:     ymax= y
-        if xmin>x:     xmin= x
-        if ymin>y:     ymin= y
+        if xmax<x: xmax= x
+        if ymax<y: ymax= y
+        if xmin>x: xmin= x
+        if ymin>y: ymin= y
 
     x= v.x
     y= v.y
@@ -169,7 +169,7 @@ def island2Edge(island):
 
     # Its okay to leave the length in there.
     # for e in length_sorted_edges:
-    #  e.pop(2)
+    #     e.pop(2)
 
     # return edges and unique points
     return length_sorted_edges, [v.to_3d() for v in unique_points.values()]
@@ -410,7 +410,7 @@ def mergeUvIslands(islandList):
                             elif Intersect == 0:  # No intersection?? Place it.
                                 # Progress
                                 removedCount += 1
-# XXX                                                          Window.DrawProgressBar(0.0, 'Merged: %i islands, Ctrl to finish early.' % removedCount)
+# XXX  Window.DrawProgressBar(0.0, 'Merged: %i islands, Ctrl to finish early.' % removedCount)
 
                                 # Move faces into new island and offset
                                 targetIsland[0].extend(sourceIsland[0])
@@ -485,7 +485,7 @@ def getUvIslands(faceGroups, me):
 
     islandList = []
 
-# XXX  Window.DrawProgressBar(0.0, 'Splitting %d projection groups into UV islands:' % len(faceGroups))
+# XXX  Window.DrawProgressBar(0.0, 'Splitting %d projection groups into UV islands:' % len(faceGroups))
     # print '\tSplitting %d projection groups into UV islands:' % len(faceGroups),
     # Find grouped faces
 
@@ -552,7 +552,7 @@ def getUvIslands(faceGroups, me):
                     break
             # if not ok will stop looping
 
-# XXX  Window.DrawProgressBar(0.1, 'Optimizing Rotation for %i UV Islands' % len(islandList))
+# XXX  Window.DrawProgressBar(0.1, 'Optimizing Rotation for %i UV Islands' % len(islandList))
 
     for island in islandList:
         optiRotateUvIsland(island)
@@ -562,7 +562,7 @@ def getUvIslands(faceGroups, me):
 
 def packIslands(islandList):
     if USER_FILL_HOLES:
-        # XXX          Window.DrawProgressBar(0.1, 'Merging Islands (Ctrl: skip merge)...')
+        # XXX  Window.DrawProgressBar(0.1, 'Merging Islands (Ctrl: skip merge)...')
         mergeUvIslands(islandList)  # Modify in place
 
     # Now we have UV islands, we need to pack them.
@@ -611,18 +611,18 @@ def packIslands(islandList):
     # with the islands.
 
     # print '\tPacking UV Islands...'
-# XXX  Window.DrawProgressBar(0.7, "Packing %i UV Islands..." % len(packBoxes) )
+# XXX  Window.DrawProgressBar(0.7, "Packing %i UV Islands..." % len(packBoxes) )
 
     # time1 = time.time()
     packWidth, packHeight = geometry.box_pack_2d(packBoxes)
 
     # print 'Box Packing Time:', time.time() - time1
 
-    # if len(pa        ckedLs) != len(islandList):
+    # if len(packedLs) != len(islandList):
     #    raise ValueError("Packed boxes differs from original length")
 
     # print '\tWriting Packed Data to faces'
-# XXX  Window.DrawProgressBar(0.8, "Writing Packed Data to faces")
+# XXX  Window.DrawProgressBar(0.8, "Writing Packed Data to faces")
 
     # Sort by ID, so there in sync again
     islandIdx = len(islandList)
index ca814f9c8dac5f5256b99c68b258fa8fc7ba5051..751af892778c83df6a283df9ac311ff1c593598c 100644 (file)
@@ -127,7 +127,7 @@ class DATA_PT_gpencil_layers(DataButtonsPanel, Panel):
 
         row = layout.row()
         layer_rows = 7
-        
+
         col = row.column()
         col.template_list("GPENCIL_UL_layer", "", gpd, "layers", gpd.layers, "active_index",
                           rows=layer_rows, sort_reverse=True, sort_lock=True)
@@ -152,13 +152,13 @@ class DATA_PT_gpencil_layers(DataButtonsPanel, Panel):
                 sub = col.column(align=True)
                 sub.operator("gpencil.layer_isolate", icon='LOCKED', text="").affect_visibility = False
                 sub.operator("gpencil.layer_isolate", icon='RESTRICT_VIEW_ON', text="").affect_visibility = True
-        
+
         # Layer main properties
-        row = layout.row()        
+        row = layout.row()
         col = layout.column(align=True)
 
         if gpl:
-            
+
             layout = self.layout
             layout.use_property_split = True
             layout.use_property_decorate = True
index 47c90199031756dcbf7a2cb02c5d94287b51f3d8..975f968b1b3b994385cb79755cf537ff162eabab 100644 (file)
@@ -459,6 +459,7 @@ class DATA_PT_vertex_colors(MeshButtonsPanel, Panel):
         col.operator("mesh.vertex_color_add", icon='ADD', text="")
         col.operator("mesh.vertex_color_remove", icon='REMOVE', text="")
 
+
 class DATA_PT_remesh(MeshButtonsPanel, Panel):
     bl_label = "Remesh"
     bl_options = {'DEFAULT_CLOSED'}
index dcdb1e22bdece0a3fda7984a68d7b8edc62514a7..124fe77cb52fda0c9d300cc085c435a467176b26 100644 (file)
@@ -1783,7 +1783,7 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
 
         col.label(text="Material:")
         row = col.row(align=True)
-        
+
         row.prop_search(md, "material", gpd, "materials", text="", icon='SHADING_TEXTURE')
         row.prop(md, "invert_materials", text="", icon='ARROW_LEFTRIGHT')
         row = layout.row(align=True)
index b41be13555c7516ef5fa01166e06d070ea9ccb92..b1affbc223dd1b272db723356f162789f75b6cd9 100644 (file)
@@ -604,10 +604,10 @@ class GPENCIL_MT_move_to_layer(Menu):
             while(i >= 0):
                 gpl = gpd.layers[i]
                 if gpl.info == gpl_active.info:
-                    icon='GREASEPENCIL'
+                    icon = 'GREASEPENCIL'
                 else:
                     icon = 'NONE'
-                layout.operator("gpencil.move_to_layer", text=gpl.info, icon=icon).layer=i
+                layout.operator("gpencil.move_to_layer", text=gpl.info, icon=icon).layer = i
                 i -= 1
 
             layout.separator()
@@ -640,7 +640,7 @@ class GPENCIL_MT_cleanup(Menu):
 
         if ob.mode != 'PAINT_GPENCIL':
             layout.operator("gpencil.stroke_merge_by_distance", text="Merge by Distance")
-        
+
         layout.separator()
 
         layout.operator("gpencil.frame_clean_fill", text="Boundary Strokes").mode = 'ACTIVE'
index 2deff8459945579a05ffb5cd93e03f51508bd96d..4a023c7989fcec81b1dff14361d4088348f987e7 100644 (file)
@@ -48,6 +48,7 @@ class GPENCIL_MT_color_context_menu(Menu):
 
         layout.operator("object.material_slot_remove_unused")
 
+
 class GPENCIL_UL_matslots(UIList):
     def draw_item(self, _context, layout, _data, item, icon, _active_data, _active_propname, _index):
         slot = item
@@ -164,6 +165,7 @@ class MATERIAL_PT_gpencil_strokecolor(GPMaterialButtonsPanel, Panel):
             if gpcolor.mode == 'LINE' and gpcolor.stroke_style != 'TEXTURE':
                 col.prop(gpcolor, "use_overlap_strokes")
 
+
 class MATERIAL_PT_gpencil_fillcolor(GPMaterialButtonsPanel, Panel):
     bl_label = "Fill"
     bl_parent_id = 'MATERIAL_PT_gpencil_surface'
@@ -274,7 +276,8 @@ class MATERIAL_PT_gpencil_material_presets(PresetPanel, Panel):
     preset_add_operator = "scene.gpencil_material_preset_add"
 
 
-classes = (GPENCIL_UL_matslots,
+classes = (
+    GPENCIL_UL_matslots,
     GPENCIL_MT_color_context_menu,
     MATERIAL_PT_gpencil_slots,
     MATERIAL_PT_gpencil_preview,
@@ -283,7 +286,8 @@ classes = (GPENCIL_UL_matslots,
     MATERIAL_PT_gpencil_strokecolor,
     MATERIAL_PT_gpencil_fillcolor,
     MATERIAL_PT_gpencil_options,
-    MATERIAL_PT_gpencil_custom_props,)
+    MATERIAL_PT_gpencil_custom_props,
+)
 
 if __name__ == "__main__":  # only for live edit.
     from bpy.utils import register_class
index 4edda9b2460613e962813d4f28bd78821f5cc922..6bd2dea3e7b25f8a662fc44ac4d29aa34c4b87e8 100644 (file)
@@ -1257,14 +1257,14 @@ class CLIP_MT_view(Menu):
             layout.operator("clip.view_all", text="View Fit").fit_view = True
 
             layout.separator()
-            
+
             layout.operator("clip.view_zoom_in")
             layout.operator("clip.view_zoom_out")
 
             layout.separator()
-            
+
             layout.prop(sc, "show_metadata")
-            
+
             layout.separator()
 
             layout.menu("CLIP_MT_view_zoom")
index 2db1b06c902a83d51ba42f29fec1c5bde529bfdd..a56928a0589b533e390d3f6e4d0dc83f3d3ba79b 100644 (file)
@@ -125,6 +125,7 @@ class CONSOLE_MT_console(Menu):
 
         layout.operator("console.autocomplete", text="Autocomplete")
 
+
 class CONSOLE_MT_context_menu(Menu):
     bl_label = "Console Context Menu"
 
index f03699ad879660da351e947b3c127dd76c8c94d5..2be5c908269b567d6bc69cd2b3235771947bb15b 100644 (file)
@@ -450,7 +450,7 @@ class FILEBROWSER_MT_select(Menu):
         layout.separator()
 
         layout.operator("file.select_box")
-        
+
 
 class FILEBROWSER_MT_context_menu(Menu):
     bl_label = "Files Context Menu"
index eabf71365d5ab13abcfc9d569f84dd61bd776b8e..b7b0326106ea48cec8b3ad03c955ceb720558b0a 100644 (file)
@@ -113,6 +113,7 @@ class INFO_MT_context_menu(Menu):
         layout.operator("info.report_copy", text="Copy")
         layout.operator("info.report_delete", text="Delete")
 
+
 classes = (
     INFO_HT_header,
     INFO_MT_editor_menus,
index f868c945512c0601ad796f5b3fc9740fed57196d..8ec2733ff3472dd24e8e97fcad32f01cd9c45215 100644 (file)
@@ -998,10 +998,11 @@ class _defs_sculpt:
             label="Mesh Filter",
             icon="ops.sculpt.mesh_filter",
             widget=None,
-            keymap= (),
+            keymap=(),
             draw_settings=draw_settings,
         )
 
+
 class _defs_vertex_paint:
 
     @staticmethod
index 6771ddef9e9673c359c0a322419351c5ae1c4050..2333c8589c3e4f8b8693f559dfc2295b8ebd3b60 100644 (file)
@@ -605,7 +605,7 @@ class VIEW3D_HT_header(Header):
                 row.prop(tool_settings, "gpencil_selectmode_edit", text="", expand=True)
 
             # Select mode for Sculpt
-            if gpd.is_stroke_sculpt_mode :
+            if gpd.is_stroke_sculpt_mode:
                 row = layout.row(align=True)
                 row.prop(tool_settings, "use_gpencil_select_mask_point", text="")
                 row.prop(tool_settings, "use_gpencil_select_mask_stroke", text="")
@@ -2654,7 +2654,6 @@ class VIEW3D_MT_make_links(Menu):
         layout.operator("object.join_uvs")  # stupid place to add this!
 
 
-
 class VIEW3D_MT_brush_paint_modes(Menu):
     bl_label = "Enabled Modes"
 
@@ -2849,27 +2848,27 @@ class VIEW3D_MT_sculpt(Menu):
 
         props = layout.operator("sculpt.mask_filter", text='Smooth Mask')
         props.filter_type = 'SMOOTH'
-        props.auto_iteration_count = True;
+        props.auto_iteration_count = True
 
         props = layout.operator("sculpt.mask_filter", text='Sharpen Mask')
         props.filter_type = 'SHARPEN'
-        props.auto_iteration_count = True;
+        props.auto_iteration_count = True
 
         props = layout.operator("sculpt.mask_filter", text='Grow Mask')
         props.filter_type = 'GROW'
-        props.auto_iteration_count = True;
+        props.auto_iteration_count = True
 
         props = layout.operator("sculpt.mask_filter", text='Shrink Mask')
         props.filter_type = 'SHRINK'
-        props.auto_iteration_count = True;
+        props.auto_iteration_count = True
 
         props = layout.operator("sculpt.mask_filter", text='Increase Contrast')
         props.filter_type = 'CONTRAST_INCREASE'
-        props.auto_iteration_count = False;
+        props.auto_iteration_count = False
 
         props = layout.operator("sculpt.mask_filter", text='Decrease Contrast')
         props.filter_type = 'CONTRAST_DECREASE'
-        props.auto_iteration_count = False;
+        props.auto_iteration_count = False
 
         layout.separator()
 
@@ -4813,6 +4812,7 @@ class VIEW3D_MT_proportional_editing_falloff_pie(Menu):
 
         pie.prop(tool_settings, "proportional_edit_falloff", expand=True)
 
+
 class VIEW3D_MT_sculpt_mask_edit_pie(Menu):
     bl_label = "Mask Edit"
 
@@ -4826,22 +4826,22 @@ class VIEW3D_MT_sculpt_mask_edit_pie(Menu):
         op.mode = 'VALUE'
         op = pie.operator("sculpt.mask_filter", text='Smooth Mask')
         op.filter_type = 'SMOOTH'
-        op.auto_iteration_count = True;
+        op.auto_iteration_count = True
         op = pie.operator("sculpt.mask_filter", text='Sharpen Mask')
         op.filter_type = 'SHARPEN'
-        op.auto_iteration_count = True;
+        op.auto_iteration_count = True
         op = pie.operator("sculpt.mask_filter", text='Grow Mask')
         op.filter_type = 'GROW'
-        op.auto_iteration_count = True;
+        op.auto_iteration_count = True
         op = pie.operator("sculpt.mask_filter", text='Shrink Mask')
         op.filter_type = 'SHRINK'
-        op.auto_iteration_count = True;
+        op.auto_iteration_count = True
         op = pie.operator("sculpt.mask_filter", text='Increase Contrast')
         op.filter_type = 'CONTRAST_INCREASE'
-        op.auto_iteration_count = False;
+        op.auto_iteration_count = False
         op = pie.operator("sculpt.mask_filter", text='Decrease Contrast')
         op.filter_type = 'CONTRAST_DECREASE'
-        op.auto_iteration_count = False;
+        op.auto_iteration_count = False
 
 
 # ********** Panel **********
index a247725468c1244287fe7d6f517bfd7269e29696..c39f2ea051d50c24a8aaca493c2e755ec2763fe7 100644 (file)
@@ -1158,6 +1158,7 @@ class VIEW3D_PT_sculpt_dyntopo_remesh(Panel, View3DPaintPanel):
             col = flow.column()
             col.operator("sculpt.detail_flood_fill")
 
+
 class VIEW3D_PT_sculpt_voxel_remesh(Panel, View3DPaintPanel):
     bl_context = ".sculpt_mode"  # dot on purpose (access from topbar)
     bl_label = "Remesh"
@@ -1191,6 +1192,7 @@ class VIEW3D_PT_sculpt_voxel_remesh(Panel, View3DPaintPanel):
 
 # TODO, move to space_view3d.py
 
+
 class VIEW3D_PT_sculpt_options(Panel, View3DPaintPanel):
     bl_context = ".sculpt_mode"  # dot on purpose (access from topbar)
     bl_label = "Options"
index 39a0358cb6c09acc4f225711cf56f94d01b19694..5e951928c5a802897613a2cf05060cf469dcfbb8 100644 (file)
@@ -126,4 +126,4 @@ void EEVEE_random_rotation_m4(int sample_ofs, float scale, float r_mat[4][4])
   rotate_m4(r_mat, 'X', ht_point[0] * scale);
   rotate_m4(r_mat, 'Y', ht_point[1] * scale);
   rotate_m4(r_mat, 'Z', ht_point[2] * scale);
-}
\ No newline at end of file
+}
index 284742ae14923d8280b27ddd2b0a588005d976aa..257ec6bc8f097009d9eaa724104e3293df0e885c 100644 (file)
@@ -409,4 +409,4 @@ void EEVEE_shadows_draw(EEVEE_ViewLayerData *sldata, EEVEE_Data *vedata, DRWView
 void EEVEE_shadows_free(void)
 {
   DRW_SHADER_FREE_SAFE(e_data.shadow_sh);
-}
\ No newline at end of file
+}
index 26f83a3e8e036a9a223aed5ec672d84b6ee7e9a0..b2dc8103df2e71522f5c132646a1f73e6ec06363 100644 (file)
@@ -436,4 +436,4 @@ void EEVEE_shadows_draw_cascades(EEVEE_ViewLayerData *sldata,
     GPU_framebuffer_clear_depth(sldata->shadow_fb, 1.0f);
     DRW_draw_pass(psl->shadow_pass);
   }
-}
\ No newline at end of file
+}
index d135071c15c846598e5a1d5f4d081e3d75b6babf..af362f24a85a31e7ad70223c5adb222f2a3fe19a 100644 (file)
@@ -8,4 +8,4 @@ void main()
 #ifdef USE_WORLD_CLIP_PLANES
   world_clip_planes_calc_clip_distance(world_pos);
 #endif
-}
\ No newline at end of file
+}
index c2ede5664f266e1d143dced16b98dca85b3fe622..7d469d2011056bd04031c58ba730c151b64c253d 100644 (file)
@@ -133,8 +133,10 @@ seek(bpy.data, 'bpy.data', 0)
 '''
 for d in dir(bpy.types):
     t = getattr(bpy.types, d)
-    try:       r = t.bl_rna
-    except:    r = None
+    try:
+        r = t.bl_rna
+    except:
+        r = None
     if r:
         seek(r, 'bpy.types.' + d + '.bl_rna', 0)
 '''