Cleanup: trailing commas
authorCampbell Barton <ideasman42@gmail.com>
Sun, 3 Feb 2019 03:01:45 +0000 (14:01 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Sun, 3 Feb 2019 03:59:11 +0000 (14:59 +1100)
Needed for clan-format not to wrap onto one line.

488 files changed:
intern/dualcon/intern/Projections.cpp
intern/dualcon/intern/octree.cpp
intern/elbeem/intern/mcubes_tables.h
intern/ghost/intern/GHOST_WindowNULL.h
source/blender/avi/intern/avi_mjpeg.c
source/blender/blenkernel/BKE_context.h
source/blender/blenkernel/BKE_material.h
source/blender/blenkernel/BKE_sequencer.h
source/blender/blenkernel/intern/CCGSubSurf_util.c
source/blender/blenkernel/intern/fcurve.c
source/blender/blenkernel/intern/ipo.c
source/blender/blenkernel/intern/mball_tessellate.c
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/pointcache.c
source/blender/blenkernel/intern/seqeffects.c
source/blender/blenkernel/intern/softbody.c
source/blender/blenkernel/intern/studiolight.c
source/blender/blenkernel/intern/subdiv_ccg.c
source/blender/blenkernel/intern/unit.c
source/blender/blenlib/intern/BLI_ghash.c
source/blender/blenlib/intern/BLI_kdopbvh.c
source/blender/blenlib/intern/fileops.c
source/blender/blenlib/intern/math_geom.c
source/blender/blenlib/intern/math_rotation.c
source/blender/blenlib/intern/noise.c
source/blender/blenlib/intern/path_util.c
source/blender/blenlib/intern/string_utf8.c
source/blender/blenlib/intern/voronoi_2d.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/bmesh/intern/bmesh_opdefines.c
source/blender/bmesh/intern/bmesh_operator_api.h
source/blender/bmesh/intern/bmesh_operators.h
source/blender/bmesh/intern/bmesh_walkers.h
source/blender/bmesh/operators/bmo_primitive.c
source/blender/collada/DocumentImporter.cpp
source/blender/collada/collada_internal.cpp
source/blender/collada/collada_internal.h
source/blender/compositor/intern/COM_OpenCLDevice.cpp
source/blender/compositor/operations/COM_ConvertDepthToRadiusOperation.h
source/blender/compositor/operations/COM_PlaneTrackOperation.h
source/blender/depsgraph/DEG_depsgraph_query.h
source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
source/blender/draw/engines/eevee/eevee_lightcache.c
source/blender/draw/engines/eevee/eevee_lights.c
source/blender/draw/engines/eevee/eevee_materials.c
source/blender/draw/engines/eevee/eevee_private.h
source/blender/draw/engines/gpencil/gpencil_render.c
source/blender/draw/engines/workbench/workbench_data.c
source/blender/draw/engines/workbench/workbench_studiolight.c
source/blender/draw/intern/draw_cache.c
source/blender/draw/intern/draw_cache_impl_curve.c
source/blender/draw/intern/draw_common.c
source/blender/draw/intern/draw_view.c
source/blender/draw/modes/object_mode.c
source/blender/editors/animation/anim_channels_edit.c
source/blender/editors/animation/drivers.c
source/blender/editors/animation/keyframes_general.c
source/blender/editors/armature/armature_add.c
source/blender/editors/armature/armature_edit.c
source/blender/editors/armature/armature_naming.c
source/blender/editors/armature/armature_relations.c
source/blender/editors/armature/armature_select.c
source/blender/editors/armature/meshlaplacian.c
source/blender/editors/armature/pose_edit.c
source/blender/editors/armature/pose_group.c
source/blender/editors/armature/pose_lib.c
source/blender/editors/armature/pose_select.c
source/blender/editors/armature/pose_slide.c
source/blender/editors/curve/editcurve.c
source/blender/editors/curve/editcurve_add.c
source/blender/editors/curve/editcurve_select.c
source/blender/editors/curve/editfont.c
source/blender/editors/gizmo_library/gizmo_types/arrow3d_gizmo.c
source/blender/editors/gizmo_library/gizmo_types/button2d_gizmo.c
source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
source/blender/editors/gizmo_library/gizmo_types/cage3d_gizmo.c
source/blender/editors/gizmo_library/gizmo_types/dial3d_gizmo.c
source/blender/editors/gizmo_library/gizmo_types/move3d_gizmo.c
source/blender/editors/gizmo_library/gizmo_types/primitive3d_gizmo.c
source/blender/editors/gpencil/annotate_paint.c
source/blender/editors/gpencil/gpencil_add_monkey.c
source/blender/editors/gpencil/gpencil_armature.c
source/blender/editors/gpencil/gpencil_convert.c
source/blender/editors/gpencil/gpencil_data.c
source/blender/editors/gpencil/gpencil_edit.c
source/blender/editors/gpencil/gpencil_fill.c
source/blender/editors/gpencil/gpencil_merge.c
source/blender/editors/gpencil/gpencil_paint.c
source/blender/editors/gpencil/gpencil_primitive.c
source/blender/editors/gpencil/gpencil_select.c
source/blender/editors/include/ED_object.h
source/blender/editors/include/ED_select_utils.h
source/blender/editors/include/ED_transform_snap_object_context.h
source/blender/editors/include/UI_interface.h
source/blender/editors/include/UI_view2d.h
source/blender/editors/interface/interface.c
source/blender/editors/interface/interface_draw.c
source/blender/editors/interface/interface_eyedropper.c
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_ops.c
source/blender/editors/interface/interface_widgets.c
source/blender/editors/io/io_collada.c
source/blender/editors/lattice/editlattice_tools.c
source/blender/editors/mask/mask_ops.c
source/blender/editors/mesh/editmesh_add.c
source/blender/editors/mesh/editmesh_intersect.c
source/blender/editors/mesh/editmesh_knife.c
source/blender/editors/mesh/editmesh_select.c
source/blender/editors/mesh/editmesh_select_similar.c
source/blender/editors/mesh/editmesh_tools.c
source/blender/editors/metaball/mball_edit.c
source/blender/editors/object/object_add.c
source/blender/editors/object/object_constraint.c
source/blender/editors/object/object_data_transfer.c
source/blender/editors/object/object_facemap_ops.c
source/blender/editors/object/object_gpencil_modifier.c
source/blender/editors/object/object_intern.h
source/blender/editors/object/object_modifier.c
source/blender/editors/object/object_relations.c
source/blender/editors/object/object_select.c
source/blender/editors/object/object_transform.c
source/blender/editors/object/object_vgroup.c
source/blender/editors/physics/dynamicpaint_ops.c
source/blender/editors/physics/particle_edit.c
source/blender/editors/physics/particle_object.c
source/blender/editors/physics/rigidbody_object.c
source/blender/editors/render/render_internal.c
source/blender/editors/render/render_shading.c
source/blender/editors/scene/scene_edit.c
source/blender/editors/screen/area.c
source/blender/editors/screen/screen_ops.c
source/blender/editors/sculpt_paint/paint_hide.c
source/blender/editors/sculpt_paint/paint_image_proj.c
source/blender/editors/sculpt_paint/paint_intern.h
source/blender/editors/sculpt_paint/paint_ops.c
source/blender/editors/sculpt_paint/paint_utils.c
source/blender/editors/sculpt_paint/paint_vertex_weight_ops.c
source/blender/editors/sculpt_paint/sculpt.c
source/blender/editors/sculpt_paint/sculpt_uv.c
source/blender/editors/sound/sound_ops.c
source/blender/editors/space_action/action_edit.c
source/blender/editors/space_action/action_intern.h
source/blender/editors/space_action/action_select.c
source/blender/editors/space_clip/clip_graph_ops.c
source/blender/editors/space_clip/tracking_ops.c
source/blender/editors/space_clip/tracking_ops_detect.c
source/blender/editors/space_clip/tracking_ops_orient.c
source/blender/editors/space_clip/tracking_select.c
source/blender/editors/space_console/console_ops.c
source/blender/editors/space_file/file_ops.c
source/blender/editors/space_file/filelist.c
source/blender/editors/space_graph/graph_edit.c
source/blender/editors/space_graph/graph_intern.h
source/blender/editors/space_graph/graph_select.c
source/blender/editors/space_image/image_ops.c
source/blender/editors/space_info/info_ops.c
source/blender/editors/space_nla/nla_edit.c
source/blender/editors/space_nla/nla_intern.h
source/blender/editors/space_nla/nla_select.c
source/blender/editors/space_node/node_group.c
source/blender/editors/space_node/node_select.c
source/blender/editors/space_outliner/outliner_tools.c
source/blender/editors/space_sequencer/sequencer_edit.c
source/blender/editors/space_sequencer/sequencer_intern.h
source/blender/editors/space_sequencer/sequencer_modifier.c
source/blender/editors/space_sequencer/sequencer_select.c
source/blender/editors/space_text/text_ops.c
source/blender/editors/space_view3d/drawobject.c
source/blender/editors/space_view3d/view3d_edit.c
source/blender/editors/space_view3d/view3d_fly.c
source/blender/editors/space_view3d/view3d_gizmo_ruler.c
source/blender/editors/space_view3d/view3d_walk.c
source/blender/editors/transform/transform.c
source/blender/editors/transform/transform_gizmo_3d.c
source/blender/editors/transform/transform_gizmo_extrude_3d.c
source/blender/editors/transform/transform_ops.c
source/blender/editors/uvedit/uvedit_ops.c
source/blender/editors/uvedit/uvedit_parametrizer.c
source/blender/editors/uvedit/uvedit_smart_stitch.c
source/blender/editors/uvedit/uvedit_unwrap_ops.c
source/blender/freestyle/intern/blender_interface/FRS_freestyle.cpp
source/blender/freestyle/intern/geometry/GeomUtils.cpp
source/blender/freestyle/intern/geometry/GridHelpers.h
source/blender/freestyle/intern/python/BPy_ContextFunctions.cpp
source/blender/freestyle/intern/python/BPy_Freestyle.cpp
source/blender/freestyle/intern/python/BPy_FrsMaterial.cpp
source/blender/freestyle/intern/python/BPy_FrsNoise.cpp
source/blender/freestyle/intern/python/BPy_IntegrationType.cpp
source/blender/freestyle/intern/python/BPy_Interface0D.cpp
source/blender/freestyle/intern/python/BPy_Interface1D.cpp
source/blender/freestyle/intern/python/BPy_Iterator.cpp
source/blender/freestyle/intern/python/BPy_Operators.cpp
source/blender/freestyle/intern/python/BPy_SShape.cpp
source/blender/freestyle/intern/python/BPy_StrokeAttribute.cpp
source/blender/freestyle/intern/python/BPy_StrokeShader.cpp
source/blender/freestyle/intern/python/BPy_ViewMap.cpp
source/blender/freestyle/intern/python/BPy_ViewShape.cpp
source/blender/freestyle/intern/python/Interface0D/BPy_SVertex.cpp
source/blender/freestyle/intern/python/Interface0D/BPy_ViewVertex.cpp
source/blender/freestyle/intern/python/Interface0D/CurvePoint/BPy_StrokeVertex.cpp
source/blender/freestyle/intern/python/Interface0D/ViewVertex/BPy_TVertex.cpp
source/blender/freestyle/intern/python/Interface1D/BPy_FrsCurve.cpp
source/blender/freestyle/intern/python/Interface1D/BPy_Stroke.cpp
source/blender/freestyle/intern/python/Interface1D/BPy_ViewEdge.cpp
source/blender/freestyle/intern/python/Interface1D/Curve/BPy_Chain.cpp
source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSmooth.cpp
source/blender/freestyle/intern/python/Iterator/BPy_ChainingIterator.cpp
source/blender/freestyle/intern/python/Iterator/BPy_StrokeVertexIterator.cpp
source/blender/freestyle/intern/python/Iterator/BPy_ViewEdgeIterator.cpp
source/blender/freestyle/intern/stroke/ChainingIterators.cpp
source/blender/freestyle/intern/system/RandGen.cpp
source/blender/freestyle/intern/view_map/SilhouetteGeomEngine.cpp
source/blender/gpu/intern/gpu_buffers.c
source/blender/gpu/intern/gpu_codegen.c
source/blender/gpu/intern/gpu_element.c
source/blender/gpu/intern/gpu_framebuffer.c
source/blender/gpu/intern/gpu_primitive.c
source/blender/gpu/intern/gpu_vertex_buffer.c
source/blender/gpu/intern/gpu_vertex_format.c
source/blender/imbuf/intern/filetype.c
source/blender/imbuf/intern/indexer.c
source/blender/imbuf/intern/oiio/openimageio_api.cpp
source/blender/imbuf/intern/thumbs.c
source/blender/makesdna/DNA_ID.h
source/blender/makesdna/DNA_material_types.h
source/blender/makesdna/DNA_modifier_types.h
source/blender/makesdna/DNA_sequence_types.h
source/blender/makesdna/intern/makesdna.c
source/blender/makesrna/intern/makesrna.c
source/blender/makesrna/intern/rna_ID.c
source/blender/makesrna/intern/rna_animation.c
source/blender/makesrna/intern/rna_animviz.c
source/blender/makesrna/intern/rna_armature.c
source/blender/makesrna/intern/rna_boid.c
source/blender/makesrna/intern/rna_brush.c
source/blender/makesrna/intern/rna_camera.c
source/blender/makesrna/intern/rna_cloth.c
source/blender/makesrna/intern/rna_color.c
source/blender/makesrna/intern/rna_constraint.c
source/blender/makesrna/intern/rna_context.c
source/blender/makesrna/intern/rna_curve.c
source/blender/makesrna/intern/rna_define.c
source/blender/makesrna/intern/rna_depsgraph.c
source/blender/makesrna/intern/rna_dynamicpaint.c
source/blender/makesrna/intern/rna_fcurve.c
source/blender/makesrna/intern/rna_fluidsim.c
source/blender/makesrna/intern/rna_gpencil.c
source/blender/makesrna/intern/rna_gpencil_modifier.c
source/blender/makesrna/intern/rna_image.c
source/blender/makesrna/intern/rna_key.c
source/blender/makesrna/intern/rna_lamp.c
source/blender/makesrna/intern/rna_lightprobe.c
source/blender/makesrna/intern/rna_linestyle.c
source/blender/makesrna/intern/rna_main.c
source/blender/makesrna/intern/rna_main_api.c
source/blender/makesrna/intern/rna_mask.c
source/blender/makesrna/intern/rna_material.c
source/blender/makesrna/intern/rna_meta.c
source/blender/makesrna/intern/rna_modifier.c
source/blender/makesrna/intern/rna_movieclip.c
source/blender/makesrna/intern/rna_nla.c
source/blender/makesrna/intern/rna_nodetree.c
source/blender/makesrna/intern/rna_object.c
source/blender/makesrna/intern/rna_object_api.c
source/blender/makesrna/intern/rna_object_force.c
source/blender/makesrna/intern/rna_packedfile.c
source/blender/makesrna/intern/rna_particle.c
source/blender/makesrna/intern/rna_pose.c
source/blender/makesrna/intern/rna_render.c
source/blender/makesrna/intern/rna_rigidbody.c
source/blender/makesrna/intern/rna_rna.c
source/blender/makesrna/intern/rna_scene.c
source/blender/makesrna/intern/rna_screen.c
source/blender/makesrna/intern/rna_sculpt_paint.c
source/blender/makesrna/intern/rna_sequencer.c
source/blender/makesrna/intern/rna_sequencer_api.c
source/blender/makesrna/intern/rna_shader_fx.c
source/blender/makesrna/intern/rna_smoke.c
source/blender/makesrna/intern/rna_space.c
source/blender/makesrna/intern/rna_texture.c
source/blender/makesrna/intern/rna_tracking.c
source/blender/makesrna/intern/rna_ui.c
source/blender/makesrna/intern/rna_ui_api.c
source/blender/makesrna/intern/rna_userdef.c
source/blender/makesrna/intern/rna_wm.c
source/blender/makesrna/intern/rna_wm_api.c
source/blender/makesrna/intern/rna_wm_gizmo.c
source/blender/makesrna/intern/rna_world.c
source/blender/modifiers/intern/MOD_explode.c
source/blender/nodes/composite/nodes/node_composite_alphaOver.c
source/blender/nodes/composite/nodes/node_composite_bokehimage.c
source/blender/nodes/composite/nodes/node_composite_brightness.c
source/blender/nodes/composite/nodes/node_composite_channelMatte.c
source/blender/nodes/composite/nodes/node_composite_chromaMatte.c
source/blender/nodes/composite/nodes/node_composite_colorMatte.c
source/blender/nodes/composite/nodes/node_composite_colorSpill.c
source/blender/nodes/composite/nodes/node_composite_colorbalance.c
source/blender/nodes/composite/nodes/node_composite_colorcorrection.c
source/blender/nodes/composite/nodes/node_composite_composite.c
source/blender/nodes/composite/nodes/node_composite_cornerpin.c
source/blender/nodes/composite/nodes/node_composite_crop.c
source/blender/nodes/composite/nodes/node_composite_curves.c
source/blender/nodes/composite/nodes/node_composite_defocus.c
source/blender/nodes/composite/nodes/node_composite_despeckle.c
source/blender/nodes/composite/nodes/node_composite_diffMatte.c
source/blender/nodes/composite/nodes/node_composite_displace.c
source/blender/nodes/composite/nodes/node_composite_distanceMatte.c
source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c
source/blender/nodes/composite/nodes/node_composite_filter.c
source/blender/nodes/composite/nodes/node_composite_flip.c
source/blender/nodes/composite/nodes/node_composite_gamma.c
source/blender/nodes/composite/nodes/node_composite_glare.c
source/blender/nodes/composite/nodes/node_composite_hueSatVal.c
source/blender/nodes/composite/nodes/node_composite_huecorrect.c
source/blender/nodes/composite/nodes/node_composite_idMask.c
source/blender/nodes/composite/nodes/node_composite_image.c
source/blender/nodes/composite/nodes/node_composite_keying.c
source/blender/nodes/composite/nodes/node_composite_keyingscreen.c
source/blender/nodes/composite/nodes/node_composite_lensdist.c
source/blender/nodes/composite/nodes/node_composite_levels.c
source/blender/nodes/composite/nodes/node_composite_lummaMatte.c
source/blender/nodes/composite/nodes/node_composite_mapRange.c
source/blender/nodes/composite/nodes/node_composite_mapUV.c
source/blender/nodes/composite/nodes/node_composite_mapValue.c
source/blender/nodes/composite/nodes/node_composite_mixrgb.c
source/blender/nodes/composite/nodes/node_composite_movieclip.c
source/blender/nodes/composite/nodes/node_composite_moviedistortion.c
source/blender/nodes/composite/nodes/node_composite_normal.c
source/blender/nodes/composite/nodes/node_composite_planetrackdeform.c
source/blender/nodes/composite/nodes/node_composite_premulkey.c
source/blender/nodes/composite/nodes/node_composite_rgb.c
source/blender/nodes/composite/nodes/node_composite_rotate.c
source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.c
source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.c
source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.c
source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.c
source/blender/nodes/composite/nodes/node_composite_setalpha.c
source/blender/nodes/composite/nodes/node_composite_splitViewer.c
source/blender/nodes/composite/nodes/node_composite_stabilize2d.c
source/blender/nodes/composite/nodes/node_composite_sunbeams.c
source/blender/nodes/composite/nodes/node_composite_switch.c
source/blender/nodes/composite/nodes/node_composite_switchview.c
source/blender/nodes/composite/nodes/node_composite_texture.c
source/blender/nodes/composite/nodes/node_composite_tonemap.c
source/blender/nodes/composite/nodes/node_composite_trackpos.c
source/blender/nodes/composite/nodes/node_composite_transform.c
source/blender/nodes/composite/nodes/node_composite_translate.c
source/blender/nodes/composite/nodes/node_composite_valToRgb.c
source/blender/nodes/composite/nodes/node_composite_value.c
source/blender/nodes/composite/nodes/node_composite_zcombine.c
source/blender/nodes/shader/nodes/node_shader_add_shader.c
source/blender/nodes/shader/nodes/node_shader_ambient_occlusion.c
source/blender/nodes/shader/nodes/node_shader_attribute.c
source/blender/nodes/shader/nodes/node_shader_background.c
source/blender/nodes/shader/nodes/node_shader_bevel.c
source/blender/nodes/shader/nodes/node_shader_blackbody.c
source/blender/nodes/shader/nodes/node_shader_brightness.c
source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c
source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c
source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c
source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c
source/blender/nodes/shader/nodes/node_shader_bsdf_hair.c
source/blender/nodes/shader/nodes/node_shader_bsdf_hair_principled.c
source/blender/nodes/shader/nodes/node_shader_bsdf_principled.c
source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c
source/blender/nodes/shader/nodes/node_shader_bsdf_toon.c
source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c
source/blender/nodes/shader/nodes/node_shader_bsdf_transparent.c
source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c
source/blender/nodes/shader/nodes/node_shader_camera.c
source/blender/nodes/shader/nodes/node_shader_curves.c
source/blender/nodes/shader/nodes/node_shader_displacement.c
source/blender/nodes/shader/nodes/node_shader_eevee_specular.c
source/blender/nodes/shader/nodes/node_shader_emission.c
source/blender/nodes/shader/nodes/node_shader_fresnel.c
source/blender/nodes/shader/nodes/node_shader_gamma.c
source/blender/nodes/shader/nodes/node_shader_geometry.c
source/blender/nodes/shader/nodes/node_shader_hair_info.c
source/blender/nodes/shader/nodes/node_shader_holdout.c
source/blender/nodes/shader/nodes/node_shader_hueSatVal.c
source/blender/nodes/shader/nodes/node_shader_ies_light.c
source/blender/nodes/shader/nodes/node_shader_layer_weight.c
source/blender/nodes/shader/nodes/node_shader_light_falloff.c
source/blender/nodes/shader/nodes/node_shader_light_path.c
source/blender/nodes/shader/nodes/node_shader_mapping.c
source/blender/nodes/shader/nodes/node_shader_math.c
source/blender/nodes/shader/nodes/node_shader_mixRgb.c
source/blender/nodes/shader/nodes/node_shader_mix_shader.c
source/blender/nodes/shader/nodes/node_shader_normal.c
source/blender/nodes/shader/nodes/node_shader_normal_map.c
source/blender/nodes/shader/nodes/node_shader_object_info.c
source/blender/nodes/shader/nodes/node_shader_output_lamp.c
source/blender/nodes/shader/nodes/node_shader_output_linestyle.c
source/blender/nodes/shader/nodes/node_shader_output_material.c
source/blender/nodes/shader/nodes/node_shader_output_world.c
source/blender/nodes/shader/nodes/node_shader_rgb.c
source/blender/nodes/shader/nodes/node_shader_sepcombHSV.c
source/blender/nodes/shader/nodes/node_shader_sepcombRGB.c
source/blender/nodes/shader/nodes/node_shader_sepcombXYZ.c
source/blender/nodes/shader/nodes/node_shader_shaderToRgb.c
source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c
source/blender/nodes/shader/nodes/node_shader_tangent.c
source/blender/nodes/shader/nodes/node_shader_tex_brick.c
source/blender/nodes/shader/nodes/node_shader_tex_checker.c
source/blender/nodes/shader/nodes/node_shader_tex_coord.c
source/blender/nodes/shader/nodes/node_shader_tex_environment.c
source/blender/nodes/shader/nodes/node_shader_tex_gradient.c
source/blender/nodes/shader/nodes/node_shader_tex_image.c
source/blender/nodes/shader/nodes/node_shader_tex_magic.c
source/blender/nodes/shader/nodes/node_shader_tex_musgrave.c
source/blender/nodes/shader/nodes/node_shader_tex_noise.c
source/blender/nodes/shader/nodes/node_shader_tex_pointdensity.c
source/blender/nodes/shader/nodes/node_shader_tex_sky.c
source/blender/nodes/shader/nodes/node_shader_tex_voronoi.c
source/blender/nodes/shader/nodes/node_shader_tex_wave.c
source/blender/nodes/shader/nodes/node_shader_uvAlongStroke.c
source/blender/nodes/shader/nodes/node_shader_uvmap.c
source/blender/nodes/shader/nodes/node_shader_valToRgb.c
source/blender/nodes/shader/nodes/node_shader_value.c
source/blender/nodes/shader/nodes/node_shader_vector_displacement.c
source/blender/nodes/shader/nodes/node_shader_volume_absorption.c
source/blender/nodes/shader/nodes/node_shader_volume_principled.c
source/blender/nodes/shader/nodes/node_shader_volume_scatter.c
source/blender/nodes/shader/nodes/node_shader_wavelength.c
source/blender/nodes/shader/nodes/node_shader_wireframe.c
source/blender/nodes/texture/nodes/node_texture_bricks.c
source/blender/nodes/texture/nodes/node_texture_curves.c
source/blender/nodes/texture/nodes/node_texture_output.c
source/blender/nodes/texture/nodes/node_texture_valToRgb.c
source/blender/python/bmesh/bmesh_py_api.c
source/blender/python/bmesh/bmesh_py_geometry.c
source/blender/python/bmesh/bmesh_py_ops.c
source/blender/python/bmesh/bmesh_py_types.c
source/blender/python/bmesh/bmesh_py_types_customdata.c
source/blender/python/bmesh/bmesh_py_types_meshdata.c
source/blender/python/bmesh/bmesh_py_types_select.c
source/blender/python/bmesh/bmesh_py_utils.c
source/blender/python/generic/bgl.c
source/blender/python/generic/blf_py_api.c
source/blender/python/generic/idprop_py_api.c
source/blender/python/generic/imbuf_py_api.c
source/blender/python/gpu/gpu_py_batch.c
source/blender/python/gpu/gpu_py_matrix.c
source/blender/python/gpu/gpu_py_offscreen.c
source/blender/python/gpu/gpu_py_select.c
source/blender/python/gpu/gpu_py_shader.c
source/blender/python/gpu/gpu_py_vertex_buffer.c
source/blender/python/gpu/gpu_py_vertex_format.c
source/blender/python/intern/bpy_app.c
source/blender/python/intern/bpy_app_alembic.c
source/blender/python/intern/bpy_app_build_options.c
source/blender/python/intern/bpy_app_ffmpeg.c
source/blender/python/intern/bpy_app_handlers.c
source/blender/python/intern/bpy_app_ocio.c
source/blender/python/intern/bpy_app_oiio.c
source/blender/python/intern/bpy_app_opensubdiv.c
source/blender/python/intern/bpy_app_openvdb.c
source/blender/python/intern/bpy_app_sdl.c
source/blender/python/intern/bpy_app_timers.c
source/blender/python/intern/bpy_app_translations.c
source/blender/python/intern/bpy_interface.c
source/blender/python/intern/bpy_msgbus.c
source/blender/python/intern/bpy_operator.c
source/blender/python/intern/bpy_props.c
source/blender/python/intern/bpy_rna.c
source/blender/python/intern/bpy_rna_callback.c
source/blender/python/intern/bpy_utils_previews.c
source/blender/python/intern/bpy_utils_units.c
source/blender/python/mathutils/mathutils.c
source/blender/python/mathutils/mathutils_Color.c
source/blender/python/mathutils/mathutils_Euler.c
source/blender/python/mathutils/mathutils_Matrix.c
source/blender/python/mathutils/mathutils_Quaternion.c
source/blender/python/mathutils/mathutils_Vector.c
source/blender/python/mathutils/mathutils_bvhtree.c
source/blender/python/mathutils/mathutils_geometry.c
source/blender/windowmanager/WM_types.h
source/blender/windowmanager/gizmo/intern/wm_gizmo_group.c
source/blender/windowmanager/intern/wm_cursors.c
source/blender/windowmanager/intern/wm_keymap.c
source/blender/windowmanager/intern/wm_operator_props.c
source/blender/windowmanager/intern/wm_operators.c
source/blender/windowmanager/wm_cursors.h
source/blender/windowmanager/wm_event_system.h
source/creator/creator_intern.h
tests/gtests/blenlib/BLI_string_utf8_test.cc

index e7c72a5..9fc9f5b 100644 (file)
@@ -29,7 +29,7 @@ const int vertmap[8][3] = {
        {1, 0, 0},
        {1, 0, 1},
        {1, 1, 0},
-       {1, 1, 1}
+       {1, 1, 1},
 };
 
 const int centmap[3][3][3][2] = {
@@ -58,7 +58,7 @@ const int edgemap[12][2] = {
        {0, 1},
        {2, 3},
        {4, 5},
-       {6, 7}
+       {6, 7},
 };
 
 const int facemap[6][4] = {
@@ -67,7 +67,7 @@ const int facemap[6][4] = {
        {0, 1, 4, 5},
        {2, 3, 6, 7},
        {0, 2, 4, 6},
-       {1, 3, 5, 7}
+       {1, 3, 5, 7},
 };
 
 /**
@@ -108,9 +108,9 @@ static void normalize(double a[3])
 
 /* Create projection axes for cube+triangle intersection testing.
  *    0, 1, 2: cube face normals
- *    
+ *
  *          3: triangle normal
- *          
+ *
  *    4, 5, 6,
  *    7, 8, 9,
  * 10, 11, 12: cross of each triangle edge vector with each cube
@@ -221,7 +221,7 @@ CubeTriangleIsect::CubeTriangleIsect(int64_t cube[2][3], int64_t tri[3][3], int6
                for (i = 1; i < 3; i++) {
                        if (vts[i] < inherit->tri_proj[axis][0])
                                inherit->tri_proj[axis][0] = vts[i];
-                       
+
                        if (vts[i] > inherit->tri_proj[axis][1])
                                inherit->tri_proj[axis][1] = vts[i];
                }
@@ -243,7 +243,7 @@ CubeTriangleIsect::CubeTriangleIsect(CubeTriangleIsect *parent)
 
                for (int j = 0; j < 3; j++)
                        cubeProj[i].edges[j] = parent->cubeProj[i].edges[j] >> 1;
-               
+
                cubeProj[i].min = parent->cubeProj[i].min >> 1;
                cubeProj[i].max = parent->cubeProj[i].max >> 1;
        }
index 8c3aa78..878cd29 100644 (file)
@@ -366,7 +366,7 @@ InternalNode *Octree::addTriangle(InternalNode *node, CubeTriangleIsect *p, int
                {0,  0,  1}};
        unsigned char boxmask = p->getBoxMask();
        CubeTriangleIsect *subp = new CubeTriangleIsect(p);
-       
+
        int count = 0;
        int tempdiff[3] = {0, 0, 0};
 
@@ -2224,7 +2224,7 @@ void Octree::computeMinimizer(const LeafNode *leaf, int st[3], int len,
 
                default: {
                        // Sharp features */
-                       
+
                        // construct QEF and minimizer
                        float mp[3] = {0, 0, 0};
                        minimize(rvalue, mp, pts, norms, parity);
@@ -2753,7 +2753,7 @@ const int faceMap[6][4] = {
        {0, 8, 1, 10},
        {2, 9, 3, 11},
        {0, 4, 2, 6},
-       {1, 5, 3, 7}
+       {1, 5, 3, 7},
 };
 
 const int cellProcFaceMask[12][3] = {
@@ -2768,7 +2768,7 @@ const int cellProcFaceMask[12][3] = {
        {0, 1, 2},
        {2, 3, 2},
        {4, 5, 2},
-       {6, 7, 2}
+       {6, 7, 2},
 };
 
 const int cellProcEdgeMask[6][5] = {
@@ -2777,7 +2777,7 @@ const int cellProcEdgeMask[6][5] = {
        {0, 4, 1, 5, 1},
        {2, 6, 3, 7, 1},
        {0, 2, 4, 6, 2},
-       {1, 3, 5, 7, 2}
+       {1, 3, 5, 7, 2},
 };
 
 const int faceProcFaceMask[3][4][3] = {
@@ -2822,7 +2822,7 @@ const int edgeProcEdgeMask[3][2][5] = {
 const int processEdgeMask[3][4] = {
        {3, 2, 1, 0},
        {7, 5, 6, 4},
-       {11, 10, 9, 8}
+       {11, 10, 9, 8},
 };
 
 const int dirCell[3][4][3] = {
@@ -2843,7 +2843,7 @@ const int dirCell[3][4][3] = {
 const int dirEdge[3][4] = {
        {3, 2, 1, 0},
        {7, 6, 5, 4},
-       {11, 10, 9, 8}
+       {11, 10, 9, 8},
 };
 
 int InternalNode::numChildrenTable[256];
index 16717a6..b4a22ca 100644 (file)
@@ -296,6 +296,5 @@ static const short mcTriTable[256][16] = {
        {1, 3, 8, 9, 1, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
        {0, 9, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
        {0, 3, 8, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
-       {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1}
+       {-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1},
 };
-
index 25d0c34..61bbac7 100644 (file)
@@ -90,7 +90,7 @@ private:
         * \param type  The type of rendering context create.
         * \return Indication of success.
         */
-       GHOST_Context *newDrawingContext(GHOST_TDrawingContextType type) {return NULL;}
+       GHOST_Context *newDrawingContext(GHOST_TDrawingContextType type) { return NULL; }
 };
 
 
index 25958dc..03e9067 100644 (file)
@@ -61,25 +61,25 @@ static void std_huff_tables(j_decompress_ptr dinfo)
 {
        static const UINT8 bits_dc_luminance[17] =
        { /* 0-base */
-               0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0
+               0, 0, 1, 5, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0,
        };
        static const UINT8 val_dc_luminance[] =
        {
-               0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
+               0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
        };
 
        static const UINT8 bits_dc_chrominance[17] =
        { /* 0-base */
-               0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0
+               0, 0, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0,
        };
        static const UINT8 val_dc_chrominance[] =
        {
-               0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
+               0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
        };
 
        static const UINT8 bits_ac_luminance[17] =
        { /* 0-base */
-               0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d
+               0, 0, 2, 1, 3, 3, 2, 4, 3, 5, 5, 4, 4, 0, 0, 1, 0x7d,
        };
        static const UINT8 val_ac_luminance[] =
        {
@@ -103,11 +103,11 @@ static void std_huff_tables(j_decompress_ptr dinfo)
                0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda, 0xe1, 0xe2,
                0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea,
                0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
-               0xf9, 0xfa
+               0xf9, 0xfa,
        };
        static const UINT8 bits_ac_chrominance[17] =
        { /* 0-base */
-               0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 0x77
+               0, 0, 2, 1, 2, 4, 4, 3, 4, 7, 5, 4, 4, 0, 1, 2, 0x77,
        };
        static const UINT8 val_ac_chrominance[] =
        {
@@ -131,7 +131,7 @@ static void std_huff_tables(j_decompress_ptr dinfo)
                0xd3, 0xd4, 0xd5, 0xd6, 0xd7, 0xd8, 0xd9, 0xda,
                0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9,
                0xea, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8,
-               0xf9, 0xfa
+               0xf9, 0xfa,
        };
 
        add_huff_table(dinfo, &dinfo->dc_huff_tbl_ptrs[0],
index 996807a..78990d8 100644 (file)
@@ -194,7 +194,7 @@ void CTX_wm_operator_poll_msg_set(struct bContext *C, const char *msg);
 /* data type, needed so we can tell between a NULL pointer and an empty list */
 enum {
        CTX_DATA_TYPE_POINTER = 0,
-       CTX_DATA_TYPE_COLLECTION
+       CTX_DATA_TYPE_COLLECTION,
 };
 
 PointerRNA CTX_data_pointer_get(const bContext *C, const char *member);
index f28ddcb..7fd1ca1 100644 (file)
@@ -68,7 +68,7 @@ enum {
        BKE_MAT_ASSIGN_EXISTING,
        BKE_MAT_ASSIGN_USERPREF,
        BKE_MAT_ASSIGN_OBDATA,
-       BKE_MAT_ASSIGN_OBJECT
+       BKE_MAT_ASSIGN_OBJECT,
 };
 
 struct Material **give_current_material_p(struct Object *ob, short act);
index 6995938..55df63e 100644 (file)
@@ -123,7 +123,7 @@ enum {
        DO_BOX_WIPE,
        DO_CROSS_WIPE,
        DO_IRIS_WIPE,
-       DO_CLOCK_WIPE
+       DO_CLOCK_WIPE,
 };
 
 struct SeqEffectHandle {
@@ -410,7 +410,7 @@ enum {
        SEQ_SIDE_NONE = 0,
        SEQ_SIDE_LEFT,
        SEQ_SIDE_RIGHT,
-       SEQ_SIDE_BOTH
+       SEQ_SIDE_BOTH,
 };
 int BKE_sequencer_find_next_prev_edit(
         struct Scene *scene, int cfra, const short side,
index 99644ad..e828c5c 100644 (file)
@@ -37,7 +37,7 @@
 static int kHashSizes[] = {
        1, 3, 5, 11, 17, 37, 67, 131, 257, 521, 1031, 2053, 4099, 8209,
        16411, 32771, 65537, 131101, 262147, 524309, 1048583, 2097169,
-       4194319, 8388617, 16777259, 33554467, 67108879, 134217757, 268435459
+       4194319, 8388617, 16777259, 33554467, 67108879, 134217757, 268435459,
 };
 
 /* Generic hash functions. */
index 6a8d3eb..b7a92bf 100644 (file)
@@ -1745,7 +1745,7 @@ void driver_variable_name_validate(DriverVar *dvar)
        const char special_char_blacklist[] = {
            '~', '`', '!', '@', '#', '$', '%', '^', '&', '*', '+', '=', '-',
            '/', '\\', '?', ':', ';',  '<', '>', '{', '}', '[', ']', '|',
-           ' ', '.', '\t', '\n', '\r'
+           ' ', '.', '\t', '\n', '\r',
        };
 
        /* sanity checks */
index 40d7358..ff2bce3 100644 (file)
@@ -138,7 +138,7 @@ static AdrBit2Path ob_layer_bits[] = {
        {(1 << 16), "layers", 16},
        {(1 << 17), "layers", 17},
        {(1 << 18), "layers", 18},
-       {(1 << 19), "layers", 19}
+       {(1 << 19), "layers", 19},
 };
 
 /* ----------------- */
index 93e5b38..19dad58 100644 (file)
@@ -460,17 +460,17 @@ static char faces[256];
 
 /* edge: LB, LT, LN, LF, RB, RT, RN, RF, BN, BF, TN, TF */
 static int corner1[12] = {
-       LBN, LTN, LBN, LBF, RBN, RTN, RBN, RBF, LBN, LBF, LTN, LTF
+       LBN, LTN, LBN, LBF, RBN, RTN, RBN, RBF, LBN, LBF, LTN, LTF,
 };
 static int corner2[12] = {
-       LBF, LTF, LTN, LTF, RBF, RTF, RTN, RTF, RBN, RBF, RTN, RTF
+       LBF, LTF, LTN, LTF, RBF, RTF, RTN, RTF, RBN, RBF, RTN, RTF,
 };
 static int leftface[12] = {
-       B, L, L, F, R, T, N, R, N, B, T, F
+       B, L, L, F, R, T, N, R, N, B, T, F,
 };
 /* face on left when going corner1 to corner2 */
 static int rightface[12] = {
-       L, T, N, L, B, R, R, F, B, F, N, T
+       L, T, N, L, B, R, R, F, B, F, N, T,
 };
 /* face on right when going corner1 to corner2 */
 
index d9f5bf0..2adc2a5 100644 (file)
@@ -62,7 +62,7 @@ enum {
        MESHCMP_POLYMISMATCH,
        MESHCMP_EDGEUNKNOWN,
        MESHCMP_VERTCOMISMATCH,
-       MESHCMP_CDLAYERS_MISMATCH
+       MESHCMP_CDLAYERS_MISMATCH,
 };
 
 static const char *cmpcode_to_str(int code)
index f989362..749d96f 100644 (file)
@@ -129,7 +129,7 @@ static int ptcache_data_size[] = {
                3 * sizeof(float), // BPHYS_DATA_AVELOCITY / BPHYS_DATA_XCONST
                sizeof(float), // BPHYS_DATA_SIZE
                3 * sizeof(float), // BPHYS_DATA_TIMES
-               sizeof(BoidData) // case BPHYS_DATA_BOIDS
+               sizeof(BoidData), // case BPHYS_DATA_BOIDS
 };
 
 static int ptcache_extra_datasize[] = {
index cb26ceb..8919e54 100644 (file)
@@ -101,7 +101,7 @@ enum {
        GlowR = 0,
        GlowG = 1,
        GlowB = 2,
-       GlowA = 3
+       GlowA = 3,
 };
 
 static ImBuf *prepare_effect_imbufs(const SeqRenderData *context, ImBuf *ibuf1, ImBuf *ibuf2, ImBuf *ibuf3)
index cc1699a..2cc7b4e 100644 (file)
@@ -1974,7 +1974,8 @@ static int _softbody_calc_forces_slice_in_a_thread(Scene *scene, Object *ob, flo
                                                bs = sb->bspring + obp->springs[b-1];
                                                if (( ilast-bb == bs->v2) || ( ilast-bb == bs->v1)) {
                                                        attached=1;
-                                                       continue;}
+                                                       continue;
+                                               }
                                        }
                                        if (!attached) {
                                                float f = bstune / (distance) + bstune / (compare * compare) * distance - 2.0f * bstune / compare;
@@ -2320,7 +2321,9 @@ static void softbody_apply_forces(Object *ob, float forcetime, int mode, float *
                                }
 
                        }
-                       else { add_v3_v3(bp->pos, dx);}
+                       else {
+                               add_v3_v3(bp->pos, dx);
+                       }
                }/*snap*/
                /* so while we are looping BPs anyway do statistics on the fly */
                minmax_v3v3_v3(aabbmin, aabbmax, bp->pos);
@@ -2621,7 +2624,7 @@ static void mesh_to_softbody(Scene *scene, Object *ob)
                                build_bps_springlist(ob); /* yes we need to do it again*/
                        }
                        springs_from_mesh(ob); /* write the 'rest'-length of the springs */
-                       if (ob->softflag & OB_SB_SELF) {calculate_collision_balls(ob);}
+                       if (ob->softflag & OB_SB_SELF) { calculate_collision_balls(ob); }
 
                }
 
@@ -2930,7 +2933,7 @@ static void curve_surf_to_softbody(Scene *scene, Object *ob)
 
        if (totspring) {
                build_bps_springlist(ob); /* link bps to springs */
-               if (ob->softflag & OB_SB_SELF) {calculate_collision_balls(ob);}
+               if (ob->softflag & OB_SB_SELF) { calculate_collision_balls(ob); }
        }
 }
 
index 828258e..222c27a 100644 (file)
@@ -322,7 +322,7 @@ static void cube_face_uv_to_direction(float r_dir[3], float x, float y, int face
                {{ 1.0f, 0.0f,  0.0f}, {0.0f,  0.0f, -1.0f}, { 0.0f,  1.0f,  0.0f}},
                {{ 1.0f, 0.0f,  0.0f}, {0.0f,  0.0f,  1.0f}, { 0.0f, -1.0f,  0.0f}},
                {{ 1.0f, 0.0f,  0.0f}, {0.0f, -1.0f,  0.0f}, { 0.0f,  0.0f, -1.0f}},
-               {{-1.0f, 0.0f,  0.0f}, {0.0f, -1.0f,  0.0f}, { 0.0f,  0.0f,  1.0f}}
+               {{-1.0f, 0.0f,  0.0f}, {0.0f, -1.0f,  0.0f}, { 0.0f,  0.0f,  1.0f}},
        };
 
        copy_v3_fl3(r_dir, x * 2.0f - 1.0f, y * 2.0f - 1.0f, 1.0f);
@@ -722,7 +722,7 @@ static void studiolight_spherical_harmonics_apply_band_factors(StudioLight *sl,
                2.0f / 3.0f,
                1.0f / 4.0f,
                0.0f,
-               -1.0f / 24.0f
+               -1.0f / 24.0f,
        };
 
        int index = 0, dst_idx = 0;
index 5d3b4e1..0c4ff54 100644 (file)
@@ -744,13 +744,13 @@ static void subdiv_ccg_recalc_inner_face_normals(
                                CCG_grid_elem(key, grid, x, y + 1),
                                CCG_grid_elem(key, grid, x + 1, y + 1),
                                CCG_grid_elem(key, grid, x + 1, y),
-                               CCG_grid_elem(key, grid, x, y)
+                               CCG_grid_elem(key, grid, x, y),
                        };
                        float *co[4] = {
                            CCG_elem_co(key, grid_elements[0]),
                            CCG_elem_co(key, grid_elements[1]),
                            CCG_elem_co(key, grid_elements[2]),
-                           CCG_elem_co(key, grid_elements[3])
+                           CCG_elem_co(key, grid_elements[3]),
                        };
                        const int face_index = y * grid_size_1 + x;
                        float *face_normal = tls->face_normals[face_index];
index 59730ab..e274640 100644 (file)
@@ -142,7 +142,7 @@ static struct bUnitDef buMetricLenDef[] = {
        {"nanometer", "Nanometers",     "nm", NULL, 0.000000001, 0.0,   B_UNIT_DEF_NONE},
        {"picometer", "Picometers",     "pm", NULL, 0.000000000001, 0.0, B_UNIT_DEF_NONE},
 #endif
-       NULL_UNIT
+       NULL_UNIT,
 };
 static const struct bUnitCollection buMetricLenCollection = {buMetricLenDef, 3, 0, UNIT_COLLECTION_LENGTH(buMetricLenDef)};
 
@@ -154,7 +154,7 @@ static struct bUnitDef buImperialLenDef[] = {
        {"foot",    "feet",     "'",    "ft", "Feet",     "FEET",     UN_SC_FT,  0.0, B_UNIT_DEF_NONE}, /* base unit */
        {"inch",    "inches",   "\"",   "in", "Inches",   "INCHES",   UN_SC_IN,  0.0, B_UNIT_DEF_NONE},
        {"thou",    "thou",     "thou", "mil", "Thou",    "THOU",     UN_SC_MIL, 0.0, B_UNIT_DEF_NONE}, /* plural for thou has no 's' */
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buImperialLenCollection = {buImperialLenDef, 4, 0, UNIT_COLLECTION_LENGTH(buImperialLenDef)};
 
@@ -168,7 +168,7 @@ static struct bUnitDef buMetricAreaDef[] = {
        {"square centimeter", "square centimeters", "cm²",  "cm2",  "Square Centimeters", NULL, UN_SC_CM * UN_SC_CM,   0.0, B_UNIT_DEF_NONE},
        {"square millimeter", "square millimeters", "mm²",  "mm2",  "Square Millimeters", NULL, UN_SC_MM * UN_SC_MM,   0.0, B_UNIT_DEF_NONE | B_UNIT_DEF_TENTH},
        {"square micrometer", "square micrometers", "µm²",  "um2",  "Square Micrometers", NULL, UN_SC_UM * UN_SC_UM,   0.0, B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buMetricAreaCollection = {buMetricAreaDef, 3, 0, UNIT_COLLECTION_LENGTH(buMetricAreaDef)};
 
@@ -180,7 +180,7 @@ static struct bUnitDef buImperialAreaDef[] = {
        {"square foot",    "square feet",     "sq ft",  NULL,  "Square Feet",     NULL, UN_SC_FT * UN_SC_FT,   0.0, B_UNIT_DEF_NONE}, /* base unit */
        {"square inch",    "square inches",   "sq in",  NULL,  "Square Inches",   NULL, UN_SC_IN * UN_SC_IN,   0.0, B_UNIT_DEF_NONE},
        {"square thou",    "square thous",    "sq mil", NULL,  "Square Thous",    NULL, UN_SC_MIL * UN_SC_MIL, 0.0, B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buImperialAreaCollection = {buImperialAreaDef, 4, 0, UNIT_COLLECTION_LENGTH(buImperialAreaDef)};
 
@@ -194,7 +194,7 @@ static struct bUnitDef buMetricVolDef[] = {
        {"cubic centimeter", "cubic centimeters", "cm³",  "cm3",  "Cubic Centimeters", NULL, UN_SC_CM * UN_SC_CM * UN_SC_CM,    0.0, B_UNIT_DEF_NONE},
        {"cubic millimeter", "cubic millimeters", "mm³",  "mm3",  "Cubic Millimeters", NULL, UN_SC_MM * UN_SC_MM * UN_SC_MM,    0.0, B_UNIT_DEF_NONE | B_UNIT_DEF_TENTH},
        {"cubic micrometer", "cubic micrometers", "µm³",  "um3",  "Cubic Micrometers", NULL, UN_SC_UM * UN_SC_UM * UN_SC_UM,    0.0, B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buMetricVolCollection = {buMetricVolDef, 3, 0, UNIT_COLLECTION_LENGTH(buMetricVolDef)};
 
@@ -206,7 +206,7 @@ static struct bUnitDef buImperialVolDef[] = {
        {"cubic foot",    "cubic feet",     "cu ft",  NULL,   "Cubic Feet",     NULL, UN_SC_FT * UN_SC_FT * UN_SC_FT,    0.0, B_UNIT_DEF_NONE}, /* base unit */
        {"cubic inch",    "cubic inches",   "cu in",  NULL,   "Cubic Inches",   NULL, UN_SC_IN * UN_SC_IN * UN_SC_IN,    0.0, B_UNIT_DEF_NONE},
        {"cubic thou",    "cubic thous",    "cu mil", NULL,   "Cubic Thous",    NULL, UN_SC_MIL * UN_SC_MIL * UN_SC_MIL, 0.0, B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buImperialVolCollection = {buImperialVolDef, 4, 0, UNIT_COLLECTION_LENGTH(buImperialVolDef)};
 
@@ -219,7 +219,7 @@ static struct bUnitDef buMetricMassDef[] = {
        {"dekagram",  "dekagrams",  "dag", NULL, "10 Grams",      "DEKAGRAMS",  UN_SC_DAG,  0.0, B_UNIT_DEF_SUPPRESS},
        {"gram",      "grams",      "g",   NULL, "Grams",         "GRAMS",      UN_SC_G,    0.0, B_UNIT_DEF_NONE},
        {"milligram", "milligrams", "mg",  NULL, "Milligrams",    "MILLIGRAMS", UN_SC_MG,   0.0, B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buMetricMassCollection = {buMetricMassDef, 2, 0, UNIT_COLLECTION_LENGTH(buMetricMassDef)};
 
@@ -229,7 +229,7 @@ static struct bUnitDef buImperialMassDef[] = {
        {"stone",         "stones",         "st",  NULL, "Stones",         "STONES",         UN_SC_ST,   0.0, B_UNIT_DEF_NONE},
        {"pound",         "pounds",         "lb",  NULL, "Pounds",         "POUNDS",         UN_SC_LB,   0.0, B_UNIT_DEF_NONE}, /* base unit */
        {"ounce",         "ounces",         "oz",  NULL, "Ounces",         "OUNCES",         UN_SC_OZ,   0.0, B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buImperialMassCollection = {buImperialMassDef, 3, 0, UNIT_COLLECTION_LENGTH(buImperialMassDef)};
 
@@ -240,27 +240,27 @@ static struct bUnitCollection buImperialMassCollection = {buImperialMassDef, 3,
 static struct bUnitDef buMetricVelDef[] = {
        {"meter per second",   "meters per second",   "m/s",  NULL, "Meters per second",   NULL, UN_SC_M,            0.0, B_UNIT_DEF_NONE}, /* base unit */
        {"kilometer per hour", "kilometers per hour", "km/h", NULL, "Kilometers per hour", NULL, UN_SC_KM / 3600.0f, 0.0, B_UNIT_DEF_SUPPRESS},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buMetricVelCollection = {buMetricVelDef, 0, 0, UNIT_COLLECTION_LENGTH(buMetricVelDef)};
 
 static struct bUnitDef buImperialVelDef[] = {
        {"foot per second", "feet per second", "ft/s", "fps", "Feet per second", NULL, UN_SC_FT,           0.0, B_UNIT_DEF_NONE}, /* base unit */
        {"mile per hour",   "miles per hour",  "mph",  NULL,  "Miles per hour",  NULL, UN_SC_MI / 3600.0f, 0.0, B_UNIT_DEF_SUPPRESS},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buImperialVelCollection = {buImperialVelDef, 0, 0, UNIT_COLLECTION_LENGTH(buImperialVelDef)};
 
 /* Acceleration */
 static struct bUnitDef buMetricAclDef[] = {
        {"meter per second squared", "meters per second squared", "m/s²", "m/s2", "Meters per second squared", NULL, UN_SC_M, 0.0, B_UNIT_DEF_NONE}, /* base unit */
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buMetricAclCollection = {buMetricAclDef, 0, 0, UNIT_COLLECTION_LENGTH(buMetricAclDef)};
 
 static struct bUnitDef buImperialAclDef[] = {
        {"foot per second squared", "feet per second squared", "ft/s²", "ft/s2", "Feet per second squared", NULL, UN_SC_FT, 0.0, B_UNIT_DEF_NONE}, /* base unit */
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buImperialAclCollection = {buImperialAclDef, 0, 0, UNIT_COLLECTION_LENGTH(buImperialAclDef)};
 
@@ -273,7 +273,7 @@ static struct bUnitDef buNaturalTimeDef[] = {
        {"second",      "seconds",      "sec", "s",  "Seconds",      "SECONDS",      1.0,      0.0, B_UNIT_DEF_NONE}, /* base unit */
        {"millisecond", "milliseconds", "ms",  NULL, "Milliseconds", "MILLISECONDS", 0.001,    0.0, B_UNIT_DEF_NONE},
        {"microsecond", "microseconds", "µs",  "us", "Microseconds", "MICROSECONDS", 0.000001, 0.0, B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buNaturalTimeCollection = {buNaturalTimeDef, 3, 0, UNIT_COLLECTION_LENGTH(buNaturalTimeDef)};
 
@@ -285,7 +285,7 @@ static struct bUnitDef buNaturalRotDef[] = {
        {"arcsecond", "arcseconds",  "\"", NULL,  "Arcseconds", "ARCSECONDS", (M_PI / 180.0) / 3600.0,  0.0,  B_UNIT_DEF_SUPPRESS},
        {"radian",    "radians",     "r",  NULL,  "Radians",    "RADIANS",    1.0,                      0.0,  B_UNIT_DEF_NONE},
 //     {"turn",      "turns",       "t",  NULL,  "Turns",      NULL, 1.0 / (M_PI * 2.0),       0.0,  B_UNIT_DEF_NONE},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buNaturalRotCollection = {buNaturalRotDef, 0, 0, UNIT_COLLECTION_LENGTH(buNaturalRotDef)};
 
@@ -296,7 +296,7 @@ static struct bUnitDef buCameraLenDef[] = {
        {"centimeter", "centimeters", "cm",  NULL, "Centimeters",    NULL, UN_SC_DAM, 0.0, B_UNIT_DEF_SUPPRESS},
        {"millimeter", "millimeters", "mm",  NULL, "Millimeters",    NULL, UN_SC_M,   0.0, B_UNIT_DEF_NONE},
        {"micrometer", "micrometers", "µm", "um",  "Micrometers",    NULL, UN_SC_MM,  0.0, B_UNIT_DEF_SUPPRESS},
-       NULL_UNIT
+       NULL_UNIT,
 };
 static struct bUnitCollection buCameraLenCollection = {buCameraLenDef, 3, 0, UNIT_COLLECTION_LENGTH(buCameraLenDef)};
 
@@ -306,7 +306,7 @@ static const struct bUnitCollection *bUnitSystems[][B_UNIT_TYPE_TOT] = {
        {NULL, NULL, NULL, NULL, NULL, &buNaturalRotCollection, &buNaturalTimeCollection, NULL, NULL, NULL},
        {NULL, &buMetricLenCollection, &buMetricAreaCollection, &buMetricVolCollection, &buMetricMassCollection, &buNaturalRotCollection, &buNaturalTimeCollection, &buMetricVelCollection, &buMetricAclCollection, &buCameraLenCollection}, /* metric */
        {NULL, &buImperialLenCollection, &buImperialAreaCollection, &buImperialVolCollection, &buImperialMassCollection, &buNaturalRotCollection, &buNaturalTimeCollection, &buImperialVelCollection, &buImperialAclCollection, &buCameraLenCollection}, /* imperial */
-       {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL}
+       {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
 };
 
 
index 91687ad..ce37fe1 100644 (file)
@@ -58,7 +58,7 @@ const uint hashsizes[] = {
        5, 11, 17, 37, 67, 131, 257, 521, 1031, 2053, 4099, 8209,
        16411, 32771, 65537, 131101, 262147, 524309, 1048583, 2097169,
        4194319, 8388617, 16777259, 33554467, 67108879, 134217757,
-       268435459
+       268435459,
 };
 
 #ifdef GHASH_USE_MODULO_BUCKETS
index c7c9f03..6f0c460 100644 (file)
@@ -185,7 +185,7 @@ typedef struct BVHNearestProjectedData {
 const float bvhtree_kdop_axes[13][3] = {
        {1.0, 0, 0}, {0, 1.0, 0}, {0, 0, 1.0},
        {1.0, 1.0, 1.0}, {1.0, -1.0, 1.0}, {1.0, 1.0, -1.0}, {1.0, -1.0, -1.0},
-       {1.0, 1.0, 0}, {1.0, 0, 1.0}, {0, 1.0, 1.0}, {1.0, -1.0, 0}, {1.0, 0, -1.0}, {0, 1.0, -1.0}
+       {1.0, 1.0, 0}, {1.0, 0, 1.0}, {0, 1.0, 1.0}, {1.0, -1.0, 0}, {1.0, 0, -1.0}, {0, 1.0, -1.0},
 };
 
 
index f504b00..ed57049 100644 (file)
@@ -507,7 +507,7 @@ enum {
        RecursiveOp_Callback_StopRecurs = 1,
 
        /* error occured in callback and recursive walking should stop immediately */
-       RecursiveOp_Callback_Error = 2
+       RecursiveOp_Callback_Error = 2,
 };
 
 typedef int (*RecursiveOp_Callback)(const char *from, const char *to);
index d42c78f..bdf88e0 100644 (file)
@@ -1354,7 +1354,7 @@ int isect_line_sphere_v3(const float l1[3], const float l2[3],
        const float ldir[3] = {
                l2[0] - l1[0],
                l2[1] - l1[1],
-               l2[2] - l1[2]
+               l2[2] - l1[2],
        };
 
        const float a = len_squared_v3(ldir);
index ef76d8e..bdd7ac5 100644 (file)
@@ -2017,7 +2017,7 @@ void quat_apply_track(float quat[4], short axis, short upflag)
                /* Quaternion((1,0,0), radians(-90)) * Quaternion((0,1,0), radians(-90)) */
                {0.5, -0.5, -0.5, 0.5},
                /* no rotation */
-               {0.0, sqrt_1_2, sqrt_1_2, 0.0}
+               {0.0, sqrt_1_2, sqrt_1_2, 0.0},
        };
 
        assert(axis >= 0 && axis <= 5);
index 214dc02..9faff7c 100644 (file)
@@ -145,7 +145,7 @@ static const float hashpntf[768] = {
        0.500001, 0.267322, 0.909654, 0.206176, 0.223987, 0.937698, 0.323423,
        0.117501, 0.490308, 0.474372, 0.689943, 0.168671, 0.719417, 0.188928,
        0.330464, 0.265273, 0.446271, 0.171933, 0.176133, 0.474616, 0.140182,
-       0.114246, 0.905043, 0.713870, 0.555261, 0.951333
+       0.114246, 0.905043, 0.713870, 0.555261, 0.951333,
 };
 
 const unsigned char hash[512] = {
@@ -488,7 +488,7 @@ static const char g_perlin_data_ub[512 + 2] = {
        0xD,  0x60, 0x8A, 0x4,  0x2C, 0x3E, 0x92, 0xE5, 0xAF, 0x53, 0x7,  0xE0,
        0x29, 0xA6, 0xC5, 0xE3, 0xF5, 0xF7, 0x4A, 0x41, 0x26, 0x6A, 0x16, 0x5E,
        0x52, 0x2D, 0x21, 0xAD, 0xF0, 0x91, 0xFF, 0xEA, 0x54, 0xFA, 0x66, 0x1A,
-       0x45, 0x39, 0xCF, 0x75, 0xA4, 0x88, 0xFB, 0x5D, 0xA2, 0xA0
+       0x45, 0x39, 0xCF, 0x75, 0xA4, 0x88, 0xFB, 0x5D, 0xA2, 0xA0,
 };
 
 
index c12724b..90ac7c9 100644 (file)
@@ -321,7 +321,7 @@ bool BLI_filename_make_safe(char *fname)
                    "con", "prn", "aux", "null",
                    "com1", "com2", "com3", "com4", "com5", "com6", "com7", "com8", "com9",
                    "lpt1", "lpt2", "lpt3", "lpt4", "lpt5", "lpt6", "lpt7", "lpt8", "lpt9",
-                   NULL
+                   NULL,
                };
                char *lower_fname = BLI_strdup(fname);
                const char **iname;
index 270cec8..57f11bb 100644 (file)
@@ -51,7 +51,7 @@ static const size_t utf8_skip_data[256] = {
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2,
-       3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 1, 1
+       3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 1, 1,
 };
 
 /* from libswish3, originally called u8_isvalid(),
index 7e4c2b7..69b43ce 100644 (file)
@@ -35,7 +35,7 @@
 
 enum {
        voronoiEventType_Site = 0,
-       voronoiEventType_Circle = 1
+       voronoiEventType_Circle = 1,
 };
 
 typedef struct VoronoiEvent {
index d3b6992..ba4bebf 100644 (file)
@@ -4172,7 +4172,7 @@ static const char *ptcache_data_struct[] = {
        "", // BPHYS_DATA_AVELOCITY / BPHYS_DATA_XCONST */
        "", // BPHYS_DATA_SIZE:
        "", // BPHYS_DATA_TIMES:
-       "BoidData" // case BPHYS_DATA_BOIDS:
+       "BoidData", // case BPHYS_DATA_BOIDS:
 };
 
 static void direct_link_pointcache_cb(FileData *fd, void *data)
index df5713f..536ede6 100644 (file)
@@ -1332,11 +1332,11 @@ static const char *ptcache_data_struct[] = {
        "", // BPHYS_DATA_AVELOCITY / BPHYS_DATA_XCONST */
        "", // BPHYS_DATA_SIZE:
        "", // BPHYS_DATA_TIMES:
-       "BoidData" // case BPHYS_DATA_BOIDS:
+       "BoidData", // case BPHYS_DATA_BOIDS:
 };
 static const char *ptcache_extra_struct[] = {
        "",
-       "ParticleSpring"
+       "ParticleSpring",
 };
 static void write_pointcaches(WriteData *wd, ListBase *ptcaches)
 {
index fe43ebd..6dfbdb7 100644 (file)
@@ -1134,7 +1134,7 @@ static BMO_FlagSet bmo_enum_dissolve_limit_flags[] = {
        {BMO_DELIM_SEAM, "SEAM"},
        {BMO_DELIM_SHARP, "SHARP"},
        {BMO_DELIM_UV, "UV"},
-       {0, NULL}
+       {0, NULL},
 };
 
 /*
index 60ecb21..1d7392e 100644 (file)
@@ -358,7 +358,7 @@ enum {
        /* A version of 'DEL_FACES' that keeps edges on face boundaries,
         * allowing the surrounding edge-loop to be kept from removed face regions. */
        DEL_FACES_KEEP_BOUNDARY,
-       DEL_ONLYTAGGED
+       DEL_ONLYTAGGED,
 };
 
 typedef enum {
index d346aa1..ab4637b 100644 (file)
@@ -30,7 +30,7 @@ enum {
        SUBD_CORNER_INNERVERT,
        SUBD_CORNER_PATH,
        SUBD_CORNER_FAN,
-       SUBD_CORNER_STRAIGHT_CUT
+       SUBD_CORNER_STRAIGHT_CUT,
 };
 
 /* aligned with PROP_SMOOTH and friends */
@@ -47,7 +47,7 @@ enum {
        SUBDIV_SELECT_NONE,
        SUBDIV_SELECT_ORIG,
        SUBDIV_SELECT_INNER,
-       SUBDIV_SELECT_LOOPCUT
+       SUBDIV_SELECT_LOOPCUT,
 };
 
 /* subdivide_edgering */
@@ -72,7 +72,7 @@ enum {
        SIMFACE_COPLANAR,
        SIMFACE_SMOOTH,
        SIMFACE_FACEMAP,
-       SIMFACE_FREESTYLE
+       SIMFACE_FREESTYLE,
 };
 
 /* similar edge selection slot values */
@@ -85,7 +85,7 @@ enum {
        SIMEDGE_BEVEL,
        SIMEDGE_SEAM,
        SIMEDGE_SHARP,
-       SIMEDGE_FREESTYLE
+       SIMEDGE_FREESTYLE,
 };
 
 /* similar vertex selection slot values */
@@ -93,14 +93,14 @@ enum {
        SIMVERT_NORMAL = 0,
        SIMVERT_FACE,
        SIMVERT_VGROUP,
-       SIMVERT_EDGE
+       SIMVERT_EDGE,
 };
 
 /* Poke face center calculation */
 enum {
        BMOP_POKE_MEDIAN_WEIGHTED = 0,
        BMOP_POKE_MEDIAN,
-       BMOP_POKE_BOUNDS
+       BMOP_POKE_BOUNDS,
 };
 
 /* Bevel offset_type slot values */
@@ -108,7 +108,7 @@ enum {
        BEVEL_AMT_OFFSET,
        BEVEL_AMT_WIDTH,
        BEVEL_AMT_DEPTH,
-       BEVEL_AMT_PERCENT
+       BEVEL_AMT_PERCENT,
 };
 
 /* Bevel face_strength_mode values: should match face_str mode enum in DNA_modifer_types.h */
index 863d191..c89024d 100644 (file)
@@ -125,7 +125,7 @@ enum {
 
        /* do not intitialze function pointers and struct size in BMW_init */
        BMW_CUSTOM,
-       BMW_MAXWALKERS
+       BMW_MAXWALKERS,
 };
 
 /* use with BMW_init, so as not to confuse with restrict flags */
index 4659641..f821b48 100644 (file)
@@ -46,7 +46,7 @@ static const float icovert[12][3] = {
        {-144.72f, 105.144f, 89.443f},
        {55.277f, 170.128f, 89.443f},
        {178.885f, 0.0f, 89.443f},
-       {0.0f, 0.0f, 200.0f}
+       {0.0f, 0.0f, 200.0f},
 };
 
 static const short icoface[20][3] = {
@@ -69,7 +69,7 @@ static const short icoface[20][3] = {
        {7, 6, 11},
        {8, 7, 11},
        {9, 8, 11},
-       {10, 9, 11}
+       {10, 9, 11},
 };
 
 static const float icouvs[60][2] =
@@ -93,7 +93,7 @@ static const float icouvs[60][2] =
        {1.000000f, 0.314921f}, {0.818181f, 0.314921f}, {0.909090f, 0.472382f},
        {0.272727f, 0.314921f}, {0.090909f, 0.314921f}, {0.181818f, 0.472382f},
        {0.454545f, 0.314921f}, {0.272727f, 0.314921f}, {0.363636f, 0.472382f},
-       {0.636363f, 0.314921f}, {0.454545f, 0.314921f}, {0.545454f, 0.472382f}
+       {0.636363f, 0.314921f}, {0.454545f, 0.314921f}, {0.545454f, 0.472382f},
 };
 
 
index 5aa02d0..147efff 100644 (file)
@@ -291,7 +291,7 @@ void DocumentImporter::translate_anim_recursive(COLLADAFW::Node *node, COLLADAFW
                COLLADAFW::Transformation::ROTATE,
                COLLADAFW::Transformation::SCALE,
                COLLADAFW::Transformation::TRANSLATE,
-               COLLADAFW::Transformation::MATRIX
+               COLLADAFW::Transformation::MATRIX,
        };
 
        Object *ob;
index 77c21f8..dd887ff 100644 (file)
@@ -200,7 +200,7 @@ const unsigned char translate_start_name_map[256] = {
        224, 225, 226, 227, 228, 229, 230, 231,
        232, 233, 234, 235, 236, 237, 238, 239,
        240, 241, 242, 243, 244, 245, 246, 247,
-       248, 249, 250, 251, 252, 253, 254, 255
+       248, 249, 250, 251, 252, 253, 254, 255,
 };
 
 const unsigned char translate_name_map[256] = {
@@ -237,7 +237,7 @@ const unsigned char translate_name_map[256] = {
        224, 225, 226, 227, 228, 229, 230, 231,
        232, 233, 234, 235, 236, 237, 238, 239,
        240, 241, 242, 243, 244, 245, 246, 247,
-       248, 249, 250, 251, 252, 253, 254, 255
+       248, 249, 250, 251, 252, 253, 254, 255,
 };
 
 typedef std::map< std::string, std::vector<std::string> > map_string_list;
index d28e174..e2d8684 100644 (file)
@@ -51,7 +51,7 @@ public:
        enum UnitSystem {
                None,
                Metric,
-               Imperial
+               Imperial,
        };
 
        // Initialize with Z_UP, since Blender uses right-handed, z-up
index 142c7f1..a8d70d0 100644 (file)
 typedef enum COM_VendorID  {NVIDIA = 0x10DE, AMD = 0x1002} COM_VendorID;
 const cl_image_format IMAGE_FORMAT_COLOR = {
        CL_RGBA,
-       CL_FLOAT
+       CL_FLOAT,
 };
 const cl_image_format IMAGE_FORMAT_VECTOR = {
        CL_RGB,
-       CL_FLOAT
+       CL_FLOAT,
 };
 const cl_image_format IMAGE_FORMAT_VALUE = {
        CL_R,
-       CL_FLOAT
+       CL_FLOAT,
 };
 
 OpenCLDevice::OpenCLDevice(cl_context context, cl_device_id device, cl_program program, cl_int vendorId)
index dada3cc..1e2d926 100644 (file)
@@ -66,7 +66,7 @@ public:
        void setMaxRadius(float maxRadius) { this->m_maxRadius = maxRadius; }
        void setCameraObject(Object *camera) { this->m_cameraObject = camera; }
        float determineFocalDistance();
-       void setPostBlur(FastGaussianBlurValueOperation *operation) {this->m_blurPostOperation = operation;}
+       void setPostBlur(FastGaussianBlurValueOperation *operation) { this->m_blurPostOperation = operation; }
 
 };
 #endif
index dc2872e..bc4ce09 100644 (file)
@@ -49,7 +49,7 @@ public:
        void setMovieClip(MovieClip *clip) {this->m_movieClip = clip;}
        void setTrackingObject(char *object) { BLI_strncpy(this->m_trackingObjectName, object, sizeof(this->m_trackingObjectName)); }
        void setPlaneTrackName(char *plane_track) { BLI_strncpy(this->m_planeTrackName, plane_track, sizeof(this->m_planeTrackName)); }
-       void setFramenumber(int framenumber) {this->m_framenumber = framenumber;}
+       void setFramenumber(int framenumber) { this->m_framenumber = framenumber; }
 };
 
 
index f27fffa..d4a56c4 100644 (file)
@@ -146,7 +146,7 @@ void DEG_iterator_objects_end(struct BLI_Iterator *iter);
        {                                                                             \
                DEGObjectIterData data_ = {                                               \
                        graph_,                                                               \
-                       flag_                                                                 \
+                       flag_,                                                                \
                };                                                                        \
                                                                                   \
                ITER_BEGIN(DEG_iterator_objects_begin,                                    \
index 06b999a..8e918fe 100644 (file)
@@ -93,7 +93,7 @@ static const int deg_debug_node_type_color_map[][2] = {
     {NodeType::POINT_CACHE,        11},
     {NodeType::LAYER_COLLECTIONS,  12},
     {NodeType::COPY_ON_WRITE,      13},
-    {-1,                               0}
+    {-1,                            0},
 };
 #endif
 
index 68456c2..5ce91fd 100644 (file)
@@ -686,7 +686,7 @@ static void eevee_lightbake_cache_create(EEVEE_Data *vedata, EEVEE_LightBake *lb
        txl->color = lbake->rt_color;
        int viewport_size[2] = {
                GPU_texture_width(txl->color),
-               GPU_texture_height(txl->color)
+               GPU_texture_height(txl->color),
        };
        DRW_render_viewport_size_set(viewport_size);
 
index 2e9c228..703c0fc 100644 (file)
@@ -1052,7 +1052,7 @@ static void eevee_shadow_cascade_setup(
                        { 1.0f, -1.0f, splits_end_ndc[c]},
                        {-1.0f, -1.0f, splits_end_ndc[c]},
                        {-1.0f,  1.0f, splits_end_ndc[c]},
-                       { 1.0f,  1.0f, splits_end_ndc[c]}
+                       { 1.0f,  1.0f, splits_end_ndc[c]},
                };
 
                /* Transform them into world space */
index 61676c0..3711114 100644 (file)
@@ -507,7 +507,7 @@ static void EEVEE_update_viewvecs(float invproj[4][4], float winmat[4][4], float
            {-1.0f, -1.0f, -1.0f, 1.0f},
            { 1.0f, -1.0f, -1.0f, 1.0f},
            {-1.0f,  1.0f, -1.0f, 1.0f},
-           {-1.0f, -1.0f,  1.0f, 1.0f}
+           {-1.0f, -1.0f,  1.0f, 1.0f},
        };
 
        /* convert the view vectors to view space */
index d2e38f4..e04a0c7 100644 (file)
@@ -1012,7 +1012,7 @@ static const float texcomat[4][4] = { /* From NDC to TexCo */
        {0.5f, 0.0f, 0.0f, 0.0f},
        {0.0f, 0.5f, 0.0f, 0.0f},
        {0.0f, 0.0f, 0.5f, 0.0f},
-       {0.5f, 0.5f, 0.5f, 1.0f}
+       {0.5f, 0.5f, 0.5f, 1.0f},
 };
 
 /* Cubemap Matrices */
index dd3989a..70e6b37 100644 (file)
@@ -142,7 +142,7 @@ static void GPENCIL_render_update_viewvecs(float invproj[4][4], float winmat[4][
                {-1.0f, -1.0f, -1.0f, 1.0f},
                {1.0f, -1.0f, -1.0f, 1.0f},
                {-1.0f,  1.0f, -1.0f, 1.0f},
-               {-1.0f, -1.0f,  1.0f, 1.0f}
+               {-1.0f, -1.0f,  1.0f, 1.0f},
        };
 
        /* convert the view vectors to view space */
index 998b708..74530e8 100644 (file)
@@ -142,7 +142,7 @@ void workbench_private_data_init(WORKBENCH_PrivateData *wpd)
                float viewvecs[3][4] = {
                    {-1.0f, -1.0f, -1.0f, 1.0f},
                    {1.0f, -1.0f, -1.0f, 1.0f},
-                   {-1.0f, 1.0f, -1.0f, 1.0f}
+                   {-1.0f, 1.0f, -1.0f, 1.0f},
                };
                int i;
                const float *size = DRW_viewport_size_get();
index 835c907..12c0d73 100644 (file)
@@ -268,7 +268,7 @@ bool studiolight_camera_in_object_shadow(WORKBENCH_PrivateData *wpd, Object *ob,
                {oed->shadow_min[0], oed->shadow_min[1]},
                {oed->shadow_min[0], oed->shadow_max[1]},
                {oed->shadow_max[0], oed->shadow_min[1]},
-               {oed->shadow_max[0], oed->shadow_max[1]}
+               {oed->shadow_max[0], oed->shadow_max[1]},
        };
 
        for (int i = 0; i < 2; ++i) {
index ba99de3..74a1f5c 100644 (file)
@@ -392,7 +392,7 @@ GPUBatch *DRW_cache_cube_get(void)
                        { 1.0f, -1.0f, -1.0f},
                        { 1.0f, -1.0f,  1.0f},
                        { 1.0f,  1.0f, -1.0f},
-                       { 1.0f,  1.0f,  1.0f}
+                       { 1.0f,  1.0f,  1.0f},
                };
 
                const uint indices[36] = {
@@ -440,7 +440,7 @@ GPUBatch *DRW_cache_empty_cube_get(void)
                        { 1.0f, -1.0f, -1.0f},
                        { 1.0f, -1.0f,  1.0f},
                        { 1.0f,  1.0f, -1.0f},
-                       { 1.0f,  1.0f,  1.0f}
+                       { 1.0f,  1.0f,  1.0f},
                };
 
                const GLubyte indices[24] = {0, 1, 1, 3, 3, 2, 2, 0, 0, 4, 4, 5, 5, 7, 7, 6, 6, 4, 1, 5, 3, 7, 2, 6};
@@ -969,7 +969,7 @@ GPUBatch *DRW_cache_empty_capsule_body_get(void)
                        {-1.0f,  0.0f, 1.0f},
                        {-1.0f,  0.0f, 0.0f},
                        { 0.0f, -1.0f, 1.0f},
-                       { 0.0f, -1.0f, 0.0f}
+                       { 0.0f, -1.0f, 0.0f},
                };
 
                /* Position Only 3D format */
@@ -1924,7 +1924,7 @@ static const float bone_octahedral_verts[6][3] = {
        { 0.1f, 0.1f, -0.1f},
        {-0.1f, 0.1f, -0.1f},
        {-0.1f, 0.1f,  0.1f},
-       { 0.0f, 1.0f,  0.0f}
+       { 0.0f, 1.0f,  0.0f},
 };
 
 static const float bone_octahedral_smooth_normals[6][3] = {
@@ -1940,7 +1940,7 @@ static const float bone_octahedral_smooth_normals[6][3] = {
        {-M_SQRT1_2, 0.0f, -M_SQRT1_2},
        {-M_SQRT1_2, 0.0f,  M_SQRT1_2},
 #endif
-       { 0.0f,  1.0f,  0.0f}
+       { 0.0f,  1.0f,  0.0f},
 };
 
 #if 0  /* UNUSED */
@@ -1969,7 +1969,7 @@ static const uint bone_octahedral_solid_tris[8][3] = {
        {5, 1, 2}, /* top */
        {5, 2, 3},
        {5, 3, 4},
-       {5, 4, 1}
+       {5, 4, 1},
 };
 
 /**
@@ -2012,7 +2012,7 @@ static const float bone_octahedral_solid_normals[8][3] = {
        { 0.99388373f,  0.11043154f, -0.00000000f},
        { 0.00000000f,  0.11043154f, -0.99388373f},
        {-0.99388373f,  0.11043154f,  0.00000000f},
-       { 0.00000000f,  0.11043154f,  0.99388373f}
+       { 0.00000000f,  0.11043154f,  0.99388373f},
 };
 
 GPUBatch *DRW_cache_bone_octahedral_get(void)
@@ -2081,7 +2081,7 @@ static const float bone_box_verts[8][3] = {
        { 1.0f, 1.0f,  1.0f},
        { 1.0f, 1.0f, -1.0f},
        {-1.0f, 1.0f, -1.0f},
-       {-1.0f, 1.0f,  1.0f}
+       {-1.0f, 1.0f,  1.0f},
 };
 
 static const float bone_box_smooth_normals[8][3] = {
@@ -2561,7 +2561,7 @@ static void set_bone_axis_vert(
 #define S_Y 0.025f
 static float x_axis_name[4][2] = {
        { 0.9f * S_X,  1.0f * S_Y}, {-1.0f * S_X, -1.0f * S_Y},
-       {-0.9f * S_X,  1.0f * S_Y}, { 1.0f * S_X, -1.0f * S_Y}
+       {-0.9f * S_X,  1.0f * S_Y}, { 1.0f * S_X, -1.0f * S_Y},
 };
 #define X_LEN (sizeof(x_axis_name) / (sizeof(float) * 2))
 #undef S_X
@@ -2572,7 +2572,7 @@ static float x_axis_name[4][2] = {
 static float y_axis_name[6][2] = {
        {-1.0f * S_X,  1.0f * S_Y}, { 0.0f * S_X, -0.1f * S_Y},
        { 1.0f * S_X,  1.0f * S_Y}, { 0.0f * S_X, -0.1f * S_Y},
-       { 0.0f * S_X, -0.1f * S_Y}, { 0.0f * S_X, -1.0f * S_Y}
+       { 0.0f * S_X, -0.1f * S_Y}, { 0.0f * S_X, -1.0f * S_Y},
 };
 #define Y_LEN (sizeof(y_axis_name) / (sizeof(float) * 2))
 #undef S_X
@@ -2585,7 +2585,7 @@ static float z_axis_name[10][2] = {
        { 0.95f * S_X,  1.00f * S_Y}, { 0.95f * S_X,  0.90f * S_Y},
        { 0.95f * S_X,  0.90f * S_Y}, {-1.00f * S_X, -0.90f * S_Y},
        {-1.00f * S_X, -0.90f * S_Y}, {-1.00f * S_X, -1.00f * S_Y},
-       {-1.00f * S_X, -1.00f * S_Y}, { 1.00f * S_X, -1.00f * S_Y}
+       {-1.00f * S_X, -1.00f * S_Y}, { 1.00f * S_X, -1.00f * S_Y},
 };
 #define Z_LEN (sizeof(z_axis_name) / (sizeof(float) * 2))
 #undef S_X
@@ -2619,7 +2619,7 @@ static float axis_name_shadow[8][2] = {
        {-S_X + O_X,  S_Y + O_Y}, { S_X + O_X,  S_Y + O_Y},
        { S_X + O_X,  S_Y + O_Y}, { S_X + O_X, -S_Y + O_Y},
        { S_X + O_X, -S_Y + O_Y}, {-S_X + O_X, -S_Y + O_Y},
-       {-S_X + O_X, -S_Y + O_Y}, {-S_X + O_X,  S_Y + O_Y}
+       {-S_X + O_X, -S_Y + O_Y}, {-S_X + O_X,  S_Y + O_Y},
 };
 // #define SHADOW_RES (sizeof(axis_name_shadow) / (sizeof(float) * 2))
 #define SHADOW_RES 0
@@ -2715,7 +2715,7 @@ static const float staticSine[16] = {
        0.406736643076f, 0.5f, 0.587785252292f, 0.669130606359f,
        0.743144825477f, 0.809016994375f, 0.866025403784f,
        0.913545457643f, 0.951056516295f, 0.978147600734f,
-       0.994521895368f, 1.0f
+       0.994521895368f, 1.0f,
 };
 
 #define set_vert(a, b, quarter) \
index 1c0d228..510cc79 100644 (file)
@@ -752,7 +752,7 @@ static void curve_create_edit_data_and_handles(
                                        char vflag[3] = {
                                                beztriple_vflag_get(rdata, bezt->f1, bezt->h1, v_idx, nu_id),
                                                beztriple_vflag_get(rdata, bezt->f2, bezt->h1, v_idx, nu_id),
-                                               beztriple_vflag_get(rdata, bezt->f3, bezt->h2, v_idx, nu_id)
+                                               beztriple_vflag_get(rdata, bezt->f3, bezt->h2, v_idx, nu_id),
                                        };
                                        for (int j = 0; j < 3; j++) {
                                                GPU_vertbuf_attr_set(vbo_data, attr_id.data, vbo_len_used + j, &vflag[j]);
index 73d5b3c..f43efa1 100644 (file)
@@ -313,7 +313,7 @@ DRWShadingGroup *shgroup_dynlines_flat_color(DRWPass *pass)
 
        DRW_shgroup_instance_format(g_formats.dynlines_color, {
                {"pos",       DRW_ATTR_FLOAT, 3},
-               {"color",     DRW_ATTR_FLOAT, 4}
+               {"color",     DRW_ATTR_FLOAT, 4},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_line_batch_create_with_format(sh, pass, g_formats.dynlines_color);
@@ -384,7 +384,7 @@ DRWShadingGroup *shgroup_instance_screenspace(
 
        DRW_shgroup_instance_format(g_formats.instance_screenspace, {
                {"world_pos", DRW_ATTR_FLOAT, 3},
-               {"color",     DRW_ATTR_FLOAT, 3}
+               {"color",     DRW_ATTR_FLOAT, 3},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh, pass, geom, g_formats.instance_screenspace);
@@ -404,7 +404,7 @@ DRWShadingGroup *shgroup_instance_solid(DRWPass *pass, struct GPUBatch *geom)
 
        DRW_shgroup_instance_format(g_formats.instance_color, {
                {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
-               {"color",               DRW_ATTR_FLOAT, 4}
+               {"color",               DRW_ATTR_FLOAT, 4},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh, pass, geom, g_formats.instance_color);
@@ -419,7 +419,7 @@ DRWShadingGroup *shgroup_instance_wire(DRWPass *pass, struct GPUBatch *geom)
 
        DRW_shgroup_instance_format(g_formats.instance_color, {
                {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
-               {"color",               DRW_ATTR_FLOAT, 4}
+               {"color",               DRW_ATTR_FLOAT, 4},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh, pass, geom, g_formats.instance_color);
@@ -435,7 +435,7 @@ DRWShadingGroup *shgroup_instance_screen_aligned(
        DRW_shgroup_instance_format(g_formats.instance_screen_aligned, {
                {"color",               DRW_ATTR_FLOAT, 3},
                {"size",                DRW_ATTR_FLOAT, 1},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh, pass, geom, g_formats.instance_screen_aligned);
@@ -453,7 +453,7 @@ DRWShadingGroup *shgroup_instance_scaled(DRWPass *pass, struct GPUBatch *geom, e
        DRW_shgroup_instance_format(g_formats.instance_scaled, {
                {"color",               DRW_ATTR_FLOAT, 3},
                {"size",                DRW_ATTR_FLOAT, 3},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_inst, pass, geom, g_formats.instance_scaled);
@@ -470,7 +470,7 @@ DRWShadingGroup *shgroup_instance(DRWPass *pass, struct GPUBatch *geom, eDRW_Sha
        DRW_shgroup_instance_format(g_formats.instance_sized, {
                {"color",               DRW_ATTR_FLOAT, 4},
                {"size",                DRW_ATTR_FLOAT, 1},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_inst, pass, geom, g_formats.instance_sized);
@@ -488,7 +488,7 @@ DRWShadingGroup *shgroup_instance_alpha(DRWPass *pass, struct GPUBatch *geom, eD
        DRW_shgroup_instance_format(g_formats.instance_sized, {
                {"color",               DRW_ATTR_FLOAT, 4},
                {"size",                DRW_ATTR_FLOAT, 1},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_inst, pass, geom, g_formats.instance_sized);
@@ -514,7 +514,7 @@ DRWShadingGroup *shgroup_instance_empty_axes(DRWPass *pass, struct GPUBatch *geo
        DRW_shgroup_instance_format(g_formats.instance_sized, {
                {"color",               DRW_ATTR_FLOAT, 3},
                {"size",                DRW_ATTR_FLOAT, 1},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_data->empty_axes_sh, pass, geom, g_formats.instance_sized);
@@ -532,7 +532,7 @@ DRWShadingGroup *shgroup_instance_outline(DRWPass *pass, struct GPUBatch *geom,
        DRW_shgroup_instance_format(g_formats.instance_outline, {
                {"callId",              DRW_ATTR_INT,   1},
                {"size",                DRW_ATTR_FLOAT, 1},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_inst, pass, geom, g_formats.instance_outline);
@@ -550,7 +550,7 @@ DRWShadingGroup *shgroup_camera_instance(DRWPass *pass, struct GPUBatch *geom, e
                {"corners",             DRW_ATTR_FLOAT, 8},
                {"depth",               DRW_ATTR_FLOAT, 1},
                {"tria",                DRW_ATTR_FLOAT, 4},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_inst, pass, geom, g_formats.instance_camera);
@@ -569,7 +569,7 @@ DRWShadingGroup *shgroup_distance_lines_instance(DRWPass *pass, struct GPUBatch
                {"color",               DRW_ATTR_FLOAT, 3},
                {"start",               DRW_ATTR_FLOAT, 1},
                {"end",                 DRW_ATTR_FLOAT, 1},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_inst, pass, geom, g_formats.instance_distance_lines);
@@ -588,7 +588,7 @@ DRWShadingGroup *shgroup_spot_instance(DRWPass *pass, struct GPUBatch *geom, eDR
 
        DRW_shgroup_instance_format(g_formats.instance_spot, {
                {"color",               DRW_ATTR_FLOAT, 3},
-               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16}
+               {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(sh_inst, pass, geom, g_formats.instance_spot);
@@ -612,7 +612,7 @@ DRWShadingGroup *shgroup_instance_bone_axes(DRWPass *pass)
 
        DRW_shgroup_instance_format(g_formats.instance_color, {
                {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
-               {"color",               DRW_ATTR_FLOAT, 4}
+               {"color",               DRW_ATTR_FLOAT, 4},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -637,7 +637,7 @@ DRWShadingGroup *shgroup_instance_bone_envelope_outline(DRWPass *pass)
                {"headSphere",           DRW_ATTR_FLOAT, 4},
                {"tailSphere",           DRW_ATTR_FLOAT, 4},
                {"outlineColorSize",     DRW_ATTR_FLOAT, 4},
-               {"xAxis",                DRW_ATTR_FLOAT, 3}
+               {"xAxis",                DRW_ATTR_FLOAT, 3},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -661,7 +661,7 @@ DRWShadingGroup *shgroup_instance_bone_envelope_distance(DRWPass *pass)
        DRW_shgroup_instance_format(g_formats.instance_bone_envelope_distance, {
                {"headSphere",           DRW_ATTR_FLOAT, 4},
                {"tailSphere",           DRW_ATTR_FLOAT, 4},
-               {"xAxis",                DRW_ATTR_FLOAT, 3}
+               {"xAxis",                DRW_ATTR_FLOAT, 3},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -686,7 +686,7 @@ DRWShadingGroup *shgroup_instance_bone_envelope_solid(DRWPass *pass, bool transp
                {"tailSphere",           DRW_ATTR_FLOAT, 4},
                {"boneColor",            DRW_ATTR_FLOAT, 3},
                {"stateColor",           DRW_ATTR_FLOAT, 3},
-               {"xAxis",                DRW_ATTR_FLOAT, 3}
+               {"xAxis",                DRW_ATTR_FLOAT, 3},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -710,7 +710,7 @@ DRWShadingGroup *shgroup_instance_mball_handles(DRWPass *pass)
        DRW_shgroup_instance_format(g_formats.instance_mball_handles, {
                {"ScaleTranslationMatrix",  DRW_ATTR_FLOAT, 12},
                {"radius",                  DRW_ATTR_FLOAT, 1},
-               {"color",                   DRW_ATTR_FLOAT, 3}
+               {"color",                   DRW_ATTR_FLOAT, 3},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -736,7 +736,7 @@ DRWShadingGroup *shgroup_instance_bone_shape_outline(DRWPass *pass, struct GPUBa
 
        DRW_shgroup_instance_format(g_formats.instance_bone_outline, {
                {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
-               {"outlineColorSize",    DRW_ATTR_FLOAT, 4}
+               {"outlineColorSize",    DRW_ATTR_FLOAT, 4},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -759,7 +759,7 @@ DRWShadingGroup *shgroup_instance_bone_shape_solid(DRWPass *pass, struct GPUBatc
        DRW_shgroup_instance_format(g_formats.instance_bone, {
                {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
                {"boneColor",            DRW_ATTR_FLOAT, 3},
-               {"stateColor",           DRW_ATTR_FLOAT, 3}
+               {"stateColor",           DRW_ATTR_FLOAT, 3},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -782,7 +782,7 @@ DRWShadingGroup *shgroup_instance_bone_sphere_solid(DRWPass *pass, bool transp)
        DRW_shgroup_instance_format(g_formats.instance_bone, {
                {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
                {"boneColor",           DRW_ATTR_FLOAT, 3},
-               {"stateColor",          DRW_ATTR_FLOAT, 3}
+               {"stateColor",          DRW_ATTR_FLOAT, 3},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -805,7 +805,7 @@ DRWShadingGroup *shgroup_instance_bone_sphere_outline(DRWPass *pass)
 
        DRW_shgroup_instance_format(g_formats.instance_bone_outline, {
                {"InstanceModelMatrix", DRW_ATTR_FLOAT, 16},
-               {"outlineColorSize",    DRW_ATTR_FLOAT, 4}
+               {"outlineColorSize",    DRW_ATTR_FLOAT, 4},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
@@ -832,7 +832,7 @@ DRWShadingGroup *shgroup_instance_bone_stick(DRWPass *pass)
                {"wireColor", DRW_ATTR_FLOAT, 4}, /* TODO port theses to uchar color */
                {"boneColor", DRW_ATTR_FLOAT, 4},
                {"headColor", DRW_ATTR_FLOAT, 4},
-               {"tailColor", DRW_ATTR_FLOAT, 4}
+               {"tailColor", DRW_ATTR_FLOAT, 4},
        });
 
        DRWShadingGroup *grp = DRW_shgroup_instance_create(
index 7ce9643..6f745b4 100644 (file)
@@ -123,7 +123,7 @@ GPUBatch *DRW_draw_background_clipping_batch_from_rv3d(const RegionView3D *rv3d)
                {4, 7, 6, 5},
                {7, 3, 2, 6},
                {1, 5, 6, 2},
-               {7, 4, 0, 3}
+               {7, 4, 0, 3},
        };
        GPUVertBuf *vbo;
        GPUIndexBuf *el;
index 8592f76..78e2560 100644 (file)
@@ -519,7 +519,7 @@ static void OBJECT_engine_init(void *vedata)
                        float fov;
                        float viewvecs[2][4] = {
                            {1.0f, -1.0f, -1.0f, 1.0f},
-                           {-1.0f, 1.0f, -1.0f, 1.0f}
+                           {-1.0f, 1.0f, -1.0f, 1.0f},
                        };
 
                        /* convert the view vectors to view space */
index 4f8e5b5..51a56c1 100644 (file)
@@ -710,7 +710,7 @@ static const EnumPropertyItem prop_animchannel_rearrange_types[] = {
        {REARRANGE_ANIMCHAN_UP, "UP", 0, "Up", ""},
        {REARRANGE_ANIMCHAN_DOWN, "DOWN", 0, "Down", ""},
        {REARRANGE_ANIMCHAN_BOTTOM, "BOTTOM", 0, "To Bottom", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* Reordering "Islands" Defines ----------------------------------- */
@@ -1781,7 +1781,7 @@ static const EnumPropertyItem prop_animchannel_setflag_types[] = {
        {ACHANNEL_SETFLAG_CLEAR, "DISABLE", 0, "Disable", ""},
        {ACHANNEL_SETFLAG_ADD, "ENABLE", 0, "Enable", ""},
        {ACHANNEL_SETFLAG_INVERT, "INVERT", 0, "Invert", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* defines for set animation-channel settings */
@@ -1789,7 +1789,7 @@ static const EnumPropertyItem prop_animchannel_setflag_types[] = {
 static const EnumPropertyItem prop_animchannel_settings_types[] = {
        {ACHANNEL_SETTING_PROTECT, "PROTECT", 0, "Protect", ""},
        {ACHANNEL_SETTING_MUTE, "MUTE", 0, "Mute", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 
index 3021026..96bddf8 100644 (file)
@@ -765,7 +765,7 @@ EnumPropertyItem prop_driver_create_mapping_types[] = {
         "Create drivers for all properties without assigning any targets yet"},
        {CREATEDRIVER_MAPPING_NONE,     "NONE_SINGLE", 0, "Manually Create Later (Single)",
         "Create driver for this property only and without assigning any targets yet"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* Filtering callback for driver mapping types enum */
index adc0716..9bc6535 100644 (file)
@@ -897,14 +897,16 @@ const EnumPropertyItem rna_enum_keyframe_paste_offset_items[] = {
        {KEYFRAME_PASTE_OFFSET_CFRA_END, "END", 0, "Frame End", "Paste keys ending at current frame"},
        {KEYFRAME_PASTE_OFFSET_CFRA_RELATIVE, "RELATIVE", 0, "Frame Relative", "Paste keys relative to the current frame when copying"},
        {KEYFRAME_PASTE_OFFSET_NONE, "NONE", 0, "No Offset", "Paste keys from original time"},
-       {0, NULL, 0, NULL, NULL}};
+       {0, NULL, 0, NULL, NULL},
+};
 
 const EnumPropertyItem rna_enum_keyframe_paste_merge_items[] = {
        {KEYFRAME_PASTE_MERGE_MIX, "MIX", 0, "Mix", "Overlay existing with new keys"},
        {KEYFRAME_PASTE_MERGE_OVER, "OVER_ALL", 0, "Overwrite All", "Replace all keys"},
        {KEYFRAME_PASTE_MERGE_OVER_RANGE, "OVER_RANGE", 0, "Overwrite Range", "Overwrite keys in pasted range"},
        {KEYFRAME_PASTE_MERGE_OVER_RANGE_ALL, "OVER_RANGE_ALL", 0, "Overwrite Entire Range", "Overwrite keys in pasted range, using the range of all copied keys"},
-       {0, NULL, 0, NULL, NULL}};
+       {0, NULL, 0, NULL, NULL},
+};
 
 
 /**
index aef71cf..9524dad 100644 (file)
@@ -841,7 +841,7 @@ void ARMATURE_OT_symmetrize(wmOperatorType *ot)
        static const EnumPropertyItem arm_symmetrize_direction_items[] = {
                {-1, "NEGATIVE_X", 0, "-X to +X", ""},
                {+1, "POSITIVE_X", 0, "+X to -X", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 8afd9b1..68cb45b 100644 (file)
@@ -282,7 +282,7 @@ static const EnumPropertyItem prop_calc_roll_types[] = {
        {CALC_ROLL_ACTIVE, "ACTIVE", 0, "Active Bone", ""},
        {CALC_ROLL_VIEW, "VIEW", 0, "View Axis", ""},
        {CALC_ROLL_CURSOR, "CURSOR", 0, "Cursor", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 
@@ -1022,7 +1022,7 @@ void ARMATURE_OT_merge(wmOperatorType *ot)
 {
        static const EnumPropertyItem merge_types[] = {
                {1, "WITHIN_CHAIN", 0, "Within Chains", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 910a3a2..6b1ab8c 100644 (file)
@@ -539,7 +539,7 @@ void ARMATURE_OT_autoside_names(wmOperatorType *ot)
                {0, "XAXIS", 0, "X-Axis", "Left/Right"},
                {1, "YAXIS", 0, "Y-Axis", "Front/Back"},
                {2, "ZAXIS", 0, "Z-Axis", "Top/Bottom"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 2623f74..8a172d8 100644 (file)
@@ -747,7 +747,7 @@ static void bone_connect_to_new_parent(ListBase *edbo, EditBone *selbone, EditBo
 static const EnumPropertyItem prop_editarm_make_parent_types[] = {
        {ARM_PAR_CONNECT, "CONNECTED", 0, "Connected", ""},
        {ARM_PAR_OFFSET, "OFFSET", 0, "Keep Offset", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static int armature_parent_set_exec(bContext *C, wmOperator *op)
@@ -868,7 +868,7 @@ void ARMATURE_OT_parent_set(wmOperatorType *ot)
 static const EnumPropertyItem prop_editarm_clear_parent_types[] = {
        {1, "CLEAR", 0, "Clear Parent", ""},
        {2, "DISCONNECT", 0, "Disconnect Bone", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static void editbone_clear_parent(EditBone *ebone, int mode)
index 9f4288f..a86b028 100644 (file)
@@ -1150,7 +1150,7 @@ static const EnumPropertyItem prop_similar_types[] = {
        {SIMEDBONE_LAYER, "LAYER", 0, "Layer", ""},
        {SIMEDBONE_GROUP, "GROUP", 0, "Group", ""},
        {SIMEDBONE_SHAPE, "SHAPE", 0, "Shape", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static float bone_length_squared_worldspace_get(Object *ob, EditBone *ebone)
@@ -1605,7 +1605,7 @@ void ARMATURE_OT_select_hierarchy(wmOperatorType *ot)
        static const EnumPropertyItem direction_items[] = {
                {BONE_SELECT_PARENT, "PARENT", 0, "Select Parent", ""},
                {BONE_SELECT_CHILD, "CHILD", 0, "Select Child", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 4bad65e..1815cd5 100644 (file)
@@ -800,7 +800,7 @@ void heat_bone_weighting(
 #define MESHDEFORM_MIN_INFLUENCE 0.0005f
 
 static const int MESHDEFORM_OFFSET[7][3] = {
-       {0, 0, 0}, {1, 0, 0}, {-1, 0, 0}, {0, 1, 0}, {0, -1, 0}, {0, 0, 1}, {0, 0, -1}
+       {0, 0, 0}, {1, 0, 0}, {-1, 0, 0}, {0, 1, 0}, {0, -1, 0}, {0, 0, 1}, {0, 0, -1},
 };
 
 typedef struct MDefBoundIsect {
index e3c2d19..0853506 100644 (file)
@@ -614,7 +614,7 @@ void POSE_OT_autoside_names(wmOperatorType *ot)
                {0, "XAXIS", 0, "X-Axis", "Left/Right"},
                {1, "YAXIS", 0, "Y-Axis", "Front/Back"},
                {2, "ZAXIS", 0, "Z-Axis", "Top/Bottom"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 696bdca..471c231 100644 (file)
@@ -330,7 +330,7 @@ void POSE_OT_group_move(wmOperatorType *ot)
        static const EnumPropertyItem group_slot_move[] = {
                {-1, "UP", 0, "Up", ""},
                {1, "DOWN", 0, "Down", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 2bd4786..083308f 100644 (file)
@@ -789,7 +789,7 @@ void POSELIB_OT_pose_move(wmOperatorType *ot)
        static const EnumPropertyItem pose_lib_pose_move[] = {
                {-1, "UP", 0, "Up", ""},
                {1, "DOWN", 0, "Down", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -873,7 +873,7 @@ enum {
        PL_PREVIEW_RUNNING,
        PL_PREVIEW_CONFIRM,
        PL_PREVIEW_CANCEL,
-       PL_PREVIEW_RUNONCE
+       PL_PREVIEW_RUNONCE,
 };
 
 /* defines for tPoseLib_PreviewData->redraw values */
index 287e3cf..7b80d51 100644 (file)
@@ -637,7 +637,7 @@ void POSE_OT_select_hierarchy(wmOperatorType *ot)
        static const EnumPropertyItem direction_items[] = {
                {BONE_SELECT_PARENT, "PARENT", 0, "Select Parent", ""},
                {BONE_SELECT_CHILD, "CHILD", 0, "Select Child", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -982,7 +982,7 @@ void POSE_OT_select_grouped(wmOperatorType *ot)
                {POSE_SEL_SAME_LAYER, "LAYER", 0, "Layer", "Shared layers"},
                {POSE_SEL_SAME_GROUP, "GROUP", 0, "Group", "Shared group"},
                {POSE_SEL_SAME_KEYINGSET, "KEYINGSET", 0, "Keying Set", "All bones affected by active Keying Set"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index dab6636..02d6585 100644 (file)
@@ -159,7 +159,7 @@ static const EnumPropertyItem prop_channels_types[] = {
        {PS_TFM_SIZE, "SIZE", 0, "Scale", "Scale only"},
        {PS_TFM_BBONE_SHAPE, "BBONE", 0, "Bendy Bone", "Bendy Bone shape properties"},
        {PS_TFM_PROPS, "CUSTOM", 0, "Custom Properties", "Custom properties"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* Axis Locks */
@@ -176,7 +176,7 @@ static const EnumPropertyItem prop_axis_lock_types[] = {
        {PS_LOCK_Y, "Y", 0, "Y", "Only Y-axis transforms are affected"},
        {PS_LOCK_Z, "Z", 0, "Z", "Only Z-axis transforms are affected"},
        /* TODO: Combinations? */
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* ------------------------------------ */
@@ -1659,7 +1659,8 @@ void POSE_OT_propagate(wmOperatorType *ot)
             "Propagate pose to all selected keyframes"},
                {POSE_PROPAGATE_SELECTED_MARKERS, "SELECTED_MARKERS", 0, "On Selected Markers",
             "Propagate pose to all keyframes occurring on frames with Scene Markers after the current frame"},
-               {0, NULL, 0, NULL, NULL}};
+               {0, NULL, 0, NULL, NULL},
+       };
 
        /* identifiers */
        ot->name = "Propagate Pose";
index 83a7063..4a4e84a 100644 (file)
@@ -3751,7 +3751,7 @@ void CURVE_OT_spline_type_set(wmOperatorType *ot)
 //             {CU_CARDINAL, "CARDINAL", 0, "Cardinal", ""},
 //             {CU_BSPLINE, "B_SPLINE", 0, "B-Spline", ""},
                {CU_NURBS, "NURBS", 0, "NURBS", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -3809,7 +3809,7 @@ void CURVE_OT_handle_type_set(wmOperatorType *ot)
                {5, "ALIGNED", 0, "Aligned", ""},
                {6, "FREE_ALIGN", 0, "Free", ""},
                {3, "TOGGLE_FREE_ALIGN", 0, "Toggle Free/Align", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -5594,7 +5594,7 @@ void CURVE_OT_cyclic_toggle(wmOperatorType *ot)
        static const EnumPropertyItem direction_items[] = {
                {0, "CYCLIC_U", 0, "Cyclic U", ""},
                {1, "CYCLIC_V", 0, "Cyclic V", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -6132,7 +6132,7 @@ static int curve_delete_exec(bContext *C, wmOperator *op)
 static const EnumPropertyItem curve_delete_type_items[] = {
        {CURVE_VERTEX, "VERT", 0, "Vertices", ""},
        {CURVE_SEGMENT, "SEGMENT", 0, "Segments", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static const EnumPropertyItem *rna_curve_delete_type_itemf(
index ea3b23e..87cc29d 100644 (file)
@@ -52,7 +52,7 @@
 
 static const float nurbcircle[8][2] = {
        {0.0, -1.0}, {-1.0, -1.0}, {-1.0, 0.0}, {-1.0,  1.0},
-       {0.0,  1.0}, { 1.0,  1.0}, { 1.0, 0.0}, { 1.0, -1.0}
+       {0.0,  1.0}, { 1.0,  1.0}, { 1.0, 0.0}, { 1.0, -1.0},
 };
 
 /************ add primitive, used by object/ module ****************/
index 85bbac1..7cb69d3 100644 (file)
@@ -1326,7 +1326,7 @@ static const EnumPropertyItem curve_prop_similar_compare_types[] = {
        {SIM_CMP_GT, "GREATER", 0, "Greater", ""},
        {SIM_CMP_LT, "LESS", 0, "Less", ""},
 
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 enum {
@@ -1341,7 +1341,7 @@ static const EnumPropertyItem curve_prop_similar_types[] = {
        {SIMCURHAND_RADIUS, "RADIUS", 0, "Radius", ""},
        {SIMCURHAND_WEIGHT, "WEIGHT", 0, "Weight", ""},
        {SIMCURHAND_DIRECTION, "DIRECTION", 0, "Direction", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static void nurb_bezt_direction_worldspace_get(Object *ob, Nurb *nu, BezTriple *bezt, float r_dir[3])
index 5f8cd41..e839815 100644 (file)
@@ -562,7 +562,7 @@ static const EnumPropertyItem style_items[] = {
        {CU_CHINFO_ITALIC, "ITALIC", 0, "Italic", ""},
        {CU_CHINFO_UNDERLINE, "UNDERLINE", 0, "Underline", ""},
        {CU_CHINFO_SMALLCAPS, "SMALL_CAPS", 0, "Small Caps", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static int set_style(bContext *C, const int style, const bool clear)
@@ -888,7 +888,8 @@ static const EnumPropertyItem move_type_items[] = {
        {NEXT_LINE, "NEXT_LINE", 0, "Next Line", ""},
        {PREV_PAGE, "PREVIOUS_PAGE", 0, "Previous Page", ""},
        {NEXT_PAGE, "NEXT_PAGE", 0, "Next Page", ""},
-       {0, NULL, 0, NULL, NULL}};
+       {0, NULL, 0, NULL, NULL},
+};
 
 static int move_cursor(bContext *C, int type, const bool select)
 {
@@ -1176,7 +1177,8 @@ static const EnumPropertyItem delete_type_items[] = {
        {DEL_SELECTION, "SELECTION", 0, "Selection", ""},
        {DEL_NEXT_SEL, "NEXT_OR_SELECTION", 0, "Next or Selection", ""},
        {DEL_PREV_SEL, "PREVIOUS_OR_SELECTION", 0, "Previous or Selection", ""},
-       {0, NULL, 0, NULL, NULL}};
+       {0, NULL, 0, NULL, NULL},
+};
 
 static int delete_exec(bContext *C, wmOperator *op)
 {
@@ -1594,7 +1596,8 @@ void ED_curve_editfont_free(Object *obedit)
 static const EnumPropertyItem case_items[] = {
        {CASE_LOWER, "LOWER", 0, "Lower", ""},
        {CASE_UPPER, "UPPER", 0, "Upper", ""},
-       {0, NULL, 0, NULL, NULL}};
+       {0, NULL, 0, NULL, NULL},
+};
 
 static int set_case(bContext *C, int ccase)
 {
index 92a8ae7..9ad0a80 100644 (file)
@@ -450,16 +450,16 @@ static void GIZMO_GT_arrow_3d(wmGizmoType *gzt)
                {ED_GIZMO_ARROW_STYLE_CROSS, "CROSS", 0, "Cross", ""},
                {ED_GIZMO_ARROW_STYLE_BOX, "BOX", 0, "Box", ""},
                {ED_GIZMO_ARROW_STYLE_CONE, "CONE", 0, "Cone", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static EnumPropertyItem rna_enum_draw_options_items[] = {
                {ED_GIZMO_ARROW_DRAW_FLAG_STEM, "STEM", 0, "Stem", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static EnumPropertyItem rna_enum_transform_items[] = {
                {ED_GIZMO_ARROW_XFORM_FLAG_INVERTED, "INVERT", 0, "Inverted", ""},
                {ED_GIZMO_ARROW_XFORM_FLAG_CONSTRAINED, "CONSTRAIN", 0, "Constrained", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        RNA_def_enum(
index dcb01a2..180b5c1 100644 (file)
@@ -301,7 +301,7 @@ static void GIZMO_GT_button_2d(wmGizmoType *gzt)
                {ED_GIZMO_BUTTON_SHOW_OUTLINE, "OUTLINE", 0, "Outline", ""},
                {ED_GIZMO_BUTTON_SHOW_BACKDROP, "BACKDROP", 0, "Backdrop", ""},
                {ED_GIZMO_BUTTON_SHOW_HELPLINE, "HELPLINE", 0, "Help Line", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        PropertyRNA *prop;
 
index d7f06a0..6f7a857 100644 (file)
@@ -1064,18 +1064,18 @@ static void GIZMO_GT_cage_2d(wmGizmoType *gzt)
        static EnumPropertyItem rna_enum_draw_style[] = {
                {ED_GIZMO_CAGE2D_STYLE_BOX, "BOX", 0, "Box", ""},
                {ED_GIZMO_CAGE2D_STYLE_CIRCLE, "CIRCLE", 0, "Circle", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static EnumPropertyItem rna_enum_transform[] = {
                {ED_GIZMO_CAGE2D_XFORM_FLAG_TRANSLATE, "TRANSLATE", 0, "Move", ""},
                {ED_GIZMO_CAGE2D_XFORM_FLAG_ROTATE, "ROTATE", 0, "Rotate", ""},
                {ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE, "SCALE", 0, "Scale", ""},
                {ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE_UNIFORM, "SCALE_UNIFORM", 0, "Scale Uniform", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static EnumPropertyItem rna_enum_draw_options[] = {
                {ED_GIZMO_CAGE2D_DRAW_FLAG_XFORM_CENTER_HANDLE, "XFORM_CENTER_HANDLE", 0, "Center Handle", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static float unit_v2[2] = {1.0f, 1.0f};
        RNA_def_float_vector(gzt->srna, "dimensions", 2, unit_v2, 0, FLT_MAX, "Dimensions", "", 0.0f, FLT_MAX);
index da7c521..0a919b0 100644 (file)
@@ -655,17 +655,17 @@ static void GIZMO_GT_cage_3d(wmGizmoType *gzt)
        static EnumPropertyItem rna_enum_draw_style[] = {
                {ED_GIZMO_CAGE2D_STYLE_BOX, "BOX", 0, "Box", ""},
                {ED_GIZMO_CAGE2D_STYLE_CIRCLE, "CIRCLE", 0, "Circle", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static EnumPropertyItem rna_enum_transform[] = {
                {ED_GIZMO_CAGE2D_XFORM_FLAG_TRANSLATE, "TRANSLATE", 0, "Move", ""},
                {ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE, "SCALE", 0, "Scale", ""},
                {ED_GIZMO_CAGE2D_XFORM_FLAG_SCALE_UNIFORM, "SCALE_UNIFORM", 0, "Scale Uniform", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static EnumPropertyItem rna_enum_draw_options[] = {
                {ED_GIZMO_CAGE2D_DRAW_FLAG_XFORM_CENTER_HANDLE, "XFORM_CENTER_HANDLE", 0, "Center Handle", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static float unit_v3[3] = {1.0f, 1.0f, 1.0f};
        RNA_def_float_vector(gzt->srna, "dimensions", 3, unit_v3, 0, FLT_MAX, "Dimensions", "", 0.0f, FLT_MAX);
index 2b2f688..e516136 100644 (file)
@@ -590,7 +590,7 @@ static void GIZMO_GT_dial_3d(wmGizmoType *gzt)
                {ED_GIZMO_DIAL_DRAW_FLAG_ANGLE_MIRROR, "ANGLE_MIRROR", 0, "Angle Mirror", ""},
                {ED_GIZMO_DIAL_DRAW_FLAG_ANGLE_START_Y, "ANGLE_START_Y", 0, "Angle Start Y", ""},
                {ED_GIZMO_DIAL_DRAW_FLAG_ANGLE_VALUE, "ANGLE_VALUE", 0, "Show Angle Value", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        RNA_def_enum_flag(gzt->srna, "draw_options", rna_enum_draw_options, 0, "Draw Options", "");
        RNA_def_boolean(gzt->srna, "wrap_angle", true, "Wrap Angle", "");
index 6c326d3..260f1df 100644 (file)
@@ -436,12 +436,12 @@ static void GIZMO_GT_move_3d(wmGizmoType *gzt)
        static EnumPropertyItem rna_enum_draw_style[] = {
                {ED_GIZMO_MOVE_STYLE_RING_2D, "RING_2D", 0, "Ring", ""},
                {ED_GIZMO_MOVE_STYLE_CROSS_2D, "CROSS_2D", 0, "Ring", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static EnumPropertyItem rna_enum_draw_options[] = {
                {ED_GIZMO_MOVE_DRAW_FLAG_FILL, "FILL", 0, "Filled", ""},
                {ED_GIZMO_MOVE_DRAW_FLAG_ALIGN_VIEW, "ALIGN_VIEW", 0, "Align View", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        RNA_def_enum(gzt->srna, "draw_style", rna_enum_draw_style, ED_GIZMO_MOVE_STYLE_RING_2D, "Draw Style", "");
index c5d6424..f67df1a 100644 (file)
@@ -173,7 +173,7 @@ static void GIZMO_GT_primitive_3d(wmGizmoType *gzt)
 
        static EnumPropertyItem rna_enum_draw_style[] = {
                {ED_GIZMO_PRIMITIVE_STYLE_PLANE, "PLANE", 0, "Plane", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        RNA_def_enum(gzt->srna, "draw_style", rna_enum_draw_style, ED_GIZMO_PRIMITIVE_STYLE_PLANE, "Draw Style", "");
 }
index e5abd66..88ccc39 100644 (file)
@@ -2340,7 +2340,7 @@ static const EnumPropertyItem prop_gpencil_drawmodes[] = {
        {GP_PAINTMODE_DRAW_STRAIGHT, "DRAW_STRAIGHT", 0, "Draw Straight Lines", "Draw straight line segment(s)"},
        {GP_PAINTMODE_DRAW_POLY, "DRAW_POLY", 0, "Draw Poly Line", "Click to place endpoints of straight line segments (connected)"},
        {GP_PAINTMODE_ERASER, "ERASER", 0, "Eraser", "Erase Annotation strokes"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 void GPENCIL_OT_annotate(wmOperatorType *ot)
index d476b83..a5cf7a4 100644 (file)
@@ -1393,31 +1393,31 @@ static const ColorTemplate gp_monkey_pct_black = {
 static const ColorTemplate gp_monkey_pct_skin = {
        "Skin",
        {0.733f, 0.569f, 0.361f, 1.0f},
-       {0.745f, 0.502f, 0.278f, 1.0f}
+       {0.745f, 0.502f, 0.278f, 1.0f},
 };
 
 static const ColorTemplate gp_monkey_pct_skin_light = {
        "Skin_Light",
        {0.914f, 0.827f, 0.635f, 1.0f},
-       {0.913f, 0.828f, 0.637f, 0.0f}
+       {0.913f, 0.828f, 0.637f, 0.0f},
 };
 
 static const ColorTemplate gp_monkey_pct_skin_shadow = {
        "Skin_Shadow",
        {0.322f, 0.29f, 0.224f, 0.5f},
-       {0.32f, 0.29f, 0.223f, 0.3f}
+       {0.32f, 0.29f, 0.223f, 0.3f},
 };
 
 static const ColorTemplate gp_monkey_pct_eyes = {
        "Eyes",
        {0.553f, 0.39f, 0.266f, 0.0f},
-       {0.847f, 0.723f, 0.599f, 1.0f}
+       {0.847f, 0.723f, 0.599f, 1.0f},
 };
 
 static const ColorTemplate gp_monkey_pct_pupils = {
        "Pupils",
        {0.0f, 0.0f, 0.0f, 0.0f},
-       {0.0f, 0.0f, 0.0f, 1.0f}
+       {0.0f, 0.0f, 0.0f, 1.0f},
 };
 
 /* ***************************************************************** */
index 3ce1376..b8bc6c9 100644 (file)
@@ -646,7 +646,7 @@ void GPENCIL_OT_generate_weights(wmOperatorType *ot)
        static const EnumPropertyItem mode_type[] = {
                {GP_ARMATURE_NAME, "NAME", 0, "Empty Groups", ""},
                {GP_ARMATURE_AUTO, "AUTO", 0, "Automatic Weights", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        PropertyRNA *prop;
index 58e096b..df9d8bd 100644 (file)
@@ -106,7 +106,7 @@ static const EnumPropertyItem prop_gpencil_convertmodes[] = {
        {GP_STROKECONVERT_PATH, "PATH", ICON_CURVE_PATH, "Path", "Animation path"},
        {GP_STROKECONVERT_CURVE, "CURVE", ICON_CURVE_BEZCURVE, "Bezier Curve", "Smooth Bezier curve"},
        {GP_STROKECONVERT_POLY, "POLY", ICON_MESH_DATA, "Polygon Curve", "Bezier curve with straight-line segments (vector handles)"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static const EnumPropertyItem prop_gpencil_convert_timingmodes_restricted[] = {
index 16502c3..7112669 100644 (file)
@@ -354,7 +354,7 @@ void GPENCIL_OT_layer_move(wmOperatorType *ot)
        static const EnumPropertyItem slot_move[] = {
                {GP_LAYER_MOVE_UP, "UP", 0, "Up", ""},
                {GP_LAYER_MOVE_DOWN, "DOWN", 0, "Down", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -530,7 +530,7 @@ void GPENCIL_OT_layer_duplicate_object(wmOperatorType *ot)
        static const EnumPropertyItem copy_mode[] = {
                {GP_LAYER_COPY_OBJECT_ALL_FRAME, "ALL", 0, "All Frames", ""},
                {GP_LAYER_COPY_OBJECT_ACT_FRAME, "ACTIVE", 0, "Active Frame", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -593,7 +593,7 @@ void GPENCIL_OT_frame_duplicate(wmOperatorType *ot)
        static const EnumPropertyItem duplicate_mode[] = {
                {GP_FRAME_DUP_ACTIVE, "ACTIVE", 0, "Active", "Duplicate frame in active layer only"},
                {GP_FRAME_DUP_ALL, "ALL", 0, "All", "Duplicate active frames in all layers"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -680,7 +680,7 @@ void GPENCIL_OT_frame_clean_fill(wmOperatorType *ot)
        static const EnumPropertyItem duplicate_mode[] = {
                {GP_FRAME_CLEAN_FILL_ACTIVE, "ACTIVE", 0, "Active Frame Only", "Clean active frame only"},
                {GP_FRAME_CLEAN_FILL_ALL, "ALL", 0, "All Frames", "Clean all frames in all layers"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 71de45e..42ff199 100644 (file)
@@ -1144,7 +1144,7 @@ void GPENCIL_OT_paste(wmOperatorType *ot)
        static const EnumPropertyItem copy_type[] = {
                {GP_COPY_ONLY, "COPY", 0, "Copy", ""},
                {GP_COPY_MERGE, "MERGE", 0, "Merge", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2142,7 +2142,7 @@ void GPENCIL_OT_delete(wmOperatorType *ot)
                {GP_DELETEOP_POINTS, "POINTS", 0, "Points", "Delete selected points and split strokes into segments"},
                {GP_DELETEOP_STROKES, "STROKES", 0, "Strokes", "Delete selected strokes"},
                {GP_DELETEOP_FRAME, "FRAME", 0, "Frame", "Delete active frame"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2175,7 +2175,7 @@ void GPENCIL_OT_dissolve(wmOperatorType *ot)
                {GP_DISSOLVE_POINTS, "POINTS", 0, "Dissolve", "Dissolve selected points"},
                {GP_DISSOLVE_BETWEEN, "BETWEEN", 0, "Dissolve Between", "Dissolve points between selected points"},
                {GP_DISSOLVE_UNSELECT, "UNSELECT", 0, "Dissolve Unselect", "Dissolve all unselected points"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2579,7 +2579,7 @@ void GPENCIL_OT_stroke_cyclical_set(wmOperatorType *ot)
                {GP_STROKE_CYCLIC_CLOSE, "CLOSE", 0, "Close all", ""},
                {GP_STROKE_CYCLIC_OPEN, "OPEN", 0, "Open all", ""},
                {GP_STROKE_CYCLIC_TOGGLE, "TOGGLE", 0, "Toggle", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2682,7 +2682,7 @@ void GPENCIL_OT_stroke_caps_set(wmOperatorType *ot)
                {GP_STROKE_CAPS_TOGGLE_START, "START", 0, "Start", ""},
                {GP_STROKE_CAPS_TOGGLE_END, "END", 0, "End", ""},
                {GP_STROKE_CAPS_TOGGLE_DEFAULT, "TOGGLE", 0, "Default", "Set as default rounded"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2956,7 +2956,7 @@ void GPENCIL_OT_stroke_join(wmOperatorType *ot)
        static const EnumPropertyItem join_type[] = {
                {GP_STROKE_JOIN, "JOIN", 0, "Join", ""},
                {GP_STROKE_JOINCOPY, "JOINCOPY", 0, "Join and Copy", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -3190,7 +3190,7 @@ void GPENCIL_OT_reproject(wmOperatorType *ot)
                 "using 'Cursor' Stroke Placement"},
                {GP_REPROJECT_SURFACE, "SURFACE", 0, "Surface",
                 "Reproject the strokes on to the scene geometry, as if drawn using 'Surface' placement"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -3762,7 +3762,7 @@ void GPENCIL_OT_stroke_separate(wmOperatorType *ot)
                {GP_SEPARATE_POINT, "POINT", 0, "Selected Points", "Separate the selected points"},
                {GP_SEPARATE_STROKE, "STROKE", 0, "Selected Strokes", "Separate the selected strokes"},
                {GP_SEPARATE_LAYER, "LAYER", 0, "Active Layer", "Separate the strokes of the current layer"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index e3a880a..c398ed6 100644 (file)
@@ -676,7 +676,7 @@ static  void gpencil_get_outline_points(tGPDfill *tgpf)
                {1, 1},
                {0, 1},
                {-1, 1},
-               {-1, 0}
+               {-1, 0},
        };
 
        tgpf->stack = BLI_stack_new(sizeof(int[2]), __func__);
index 75061b1..0e4cfd2 100644 (file)
@@ -541,7 +541,7 @@ void GPENCIL_OT_stroke_merge(wmOperatorType *ot)
        static const EnumPropertyItem mode_type[] = {
                {GP_MERGE_STROKE, "STROKE", 0, "Stroke", ""},
                {GP_MERGE_POINT, "POINT", 0, "Point", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 75e4105..4f44d46 100644 (file)
@@ -3738,7 +3738,7 @@ static const EnumPropertyItem prop_gpencil_drawmodes[] = {
        {GP_PAINTMODE_DRAW_STRAIGHT, "DRAW_STRAIGHT", 0, "Draw Straight Lines", "Draw straight line segment(s)"},
        {GP_PAINTMODE_DRAW_POLY, "DRAW_POLY", 0, "Draw Poly Line", "Click to place endpoints of straight line segments (connected)"},
        {GP_PAINTMODE_ERASER, "ERASER", 0, "Eraser", "Erase Grease Pencil strokes"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 void GPENCIL_OT_draw(wmOperatorType *ot)
index 88e159a..4bd084b 100644 (file)
@@ -1785,7 +1785,7 @@ void GPENCIL_OT_primitive(wmOperatorType *ot)
                {GP_STROKE_CIRCLE, "CIRCLE", 0, "Circle", ""},
                {GP_STROKE_ARC, "ARC", 0, "Arc", ""},
                {GP_STROKE_CURVE, "CURVE", 0, "Curve", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 7765c6a..32c9193 100644 (file)
@@ -503,7 +503,7 @@ void GPENCIL_OT_select_grouped(wmOperatorType *ot)
        static const EnumPropertyItem prop_select_grouped_types[] = {
                {GP_SEL_SAME_LAYER, "LAYER", 0, "Layer", "Shared layers"},
                {GP_SEL_SAME_MATERIAL, "MATERIAL", 0, "Material", "Shared materials"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index fabd369..3d2de56 100644 (file)
@@ -230,7 +230,7 @@ bool ED_object_mode_generic_has_data(
 /* object_modifier.c */
 enum {
        MODIFIER_APPLY_DATA = 1,
-       MODIFIER_APPLY_SHAPE
+       MODIFIER_APPLY_SHAPE,
 };
 
 struct ModifierData *ED_object_modifier_add(
index 0929782..666db97 100644 (file)
@@ -43,7 +43,7 @@ typedef enum {
 enum {
        SIM_CMP_EQ = 0,
        SIM_CMP_GT,
-       SIM_CMP_LT
+       SIM_CMP_LT,
 };
 
 #define SEL_OP_USE_OUTSIDE(sel_op) (ELEM(sel_op, SEL_OP_AND))
index 4cf4c45..a4a86c0 100644 (file)
@@ -70,7 +70,6 @@ struct SnapObjectParams {
        unsigned int use_object_edit_cage : 1;
        /* snap to the closest element, use when using more than one snap type */
        unsigned int use_occlusion_test   : 1;
-
 };
 
 typedef struct SnapObjectContext SnapObjectContext;
index f52f83f..dbf5a9c 100644 (file)
@@ -733,7 +733,7 @@ enum {
        BUT_GET_RNA_TIP,
        BUT_GET_RNAENUM_TIP,
        BUT_GET_OP_KEYMAP,
-       BUT_GET_PROP_KEYMAP
+       BUT_GET_PROP_KEYMAP,
 };
 
 typedef struct uiStringInfo {
index 711d12d..53aba36 100644 (file)
@@ -53,7 +53,7 @@ enum eView2D_CommonViewTypes {
        /* headers (this is basically the same as listview, but no y-panning) */
        V2D_COMMONVIEW_HEADER,
        /* ui region containing panels */
-       V2D_COMMONVIEW_PANELS_UI
+       V2D_COMMONVIEW_PANELS_UI,
 };
 
 /* ---- Defines for Scroller/Grid Arguments ----- */
@@ -77,7 +77,7 @@ enum eView2D_Units {
 /* clamping of grid values to whole numbers */
 enum eView2D_Clamp {
        V2D_GRID_NOCLAMP = 0,
-       V2D_GRID_CLAMP
+       V2D_GRID_CLAMP,
 };
 
 /* flags for grid-lines to draw */
index 721ce2f..3c45eed 100644 (file)
@@ -431,7 +431,7 @@ static void ui_block_bounds_calc_centered_pie(uiBlock *block)
 {
        const int xy[2] = {
            block->pie_data.pie_center_spawned[0],
-           block->pie_data.pie_center_spawned[1]
+           block->pie_data.pie_center_spawned[1],
        };
 
        UI_block_translate(block, xy[0], xy[1]);
@@ -1067,17 +1067,17 @@ static bool ui_but_event_property_operator_string(
                "WM_OT_context_cycle_enum",
                "WM_OT_context_cycle_array",
                "WM_OT_context_menu_enum",
-               NULL
+               NULL,
        };
 
        const char *ctx_enum_opnames[] = {
                "WM_OT_context_set_enum",
-               NULL
+               NULL,
        };
 
        const char *ctx_enum_opnames_for_Area_ui_type[] = {
                "SCREEN_OT_space_type_set_or_cycle",
-               NULL
+               NULL,
        };
 
        const char **opnames = ctx_toggle_opnames;
index 6f8cdc0..4b0f237 100644 (file)
@@ -251,7 +251,7 @@ static void round_box_shade_col(uint attr, const float col1[3], float const col2
                fac * col1[0] + (1.0f - fac) * col2[0],
                fac * col1[1] + (1.0f - fac) * col2[1],
                fac * col1[2] + (1.0f - fac) * col2[2],
-               1.0f
+               1.0f,
        };
        immAttr4fv(attr, col);
 }
@@ -2005,7 +2005,7 @@ void ui_draw_but_NODESOCKET(ARegion *ar, uiBut *but, const uiWidgetColors *UNUSE
            0.00000000f, 0.39435585f, 0.72479278f, 0.93775213f,
            0.99871650f, 0.89780453f, 0.65137248f, 0.29936312f,
            -0.10116832f, -0.48530196f, -0.79077573f, -0.96807711f,
-           -0.98846832f, -0.84864425f, -0.57126821f, -0.20129852f
+           -0.98846832f, -0.84864425f, -0.57126821f, -0.20129852f,
        };
        /* 16 values of cos function */
        const float co[16] = {
index 35572a8..095d87d 100644 (file)
@@ -52,7 +52,7 @@ wmKeyMap *eyedropper_modal_keymap(wmKeyConfig *keyconf)
                {EYE_MODAL_SAMPLE_CONFIRM, "SAMPLE_CONFIRM", 0, "Confirm Sampling", ""},
                {EYE_MODAL_SAMPLE_BEGIN, "SAMPLE_BEGIN", 0, "Start Sampling", ""},
                {EYE_MODAL_SAMPLE_RESET, "SAMPLE_RESET", 0, "Reset Sampling", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        wmKeyMap *keymap = WM_modalkeymap_get(keyconf, "Eyedropper Modal Map");
@@ -80,7 +80,7 @@ wmKeyMap *eyedropper_colorband_modal_keymap(wmKeyConfig *keyconf)
                {EYE_MODAL_POINT_SAMPLE, "SAMPLE_SAMPLE", 0, "Sample a point", ""},
                {EYE_MODAL_POINT_CONFIRM, "SAMPLE_CONFIRM", 0, "Confirm Sampling", ""},
                {EYE_MODAL_POINT_RESET, "SAMPLE_RESET", 0, "Reset Sampling", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        wmKeyMap *keymap = WM_modalkeymap_get(keyconf, "Eyedropper ColorBand PointSampling Map");
index 25c39c4..8f7ea84 100644 (file)
@@ -2917,7 +2917,7 @@ static int ui_textedit_autocomplete(bContext *C, uiBut *but, uiHandleButtonData
 enum {
        UI_TEXTEDIT_PASTE = 1,
        UI_TEXTEDIT_COPY,
-       UI_TEXTEDIT_CUT
+       UI_TEXTEDIT_CUT,
 };
 
 static bool ui_textedit_copypaste(uiBut *but, uiHandleButtonData *data, const int mode)
index 485561e..605fe2f 100644 (file)
@@ -402,7 +402,7 @@ static EnumPropertyItem override_type_items[] = {
        {UIOverride_Type_Replace, "REPLACE", 0, "Replace", "Completely replace value from linked data by local one"},
        {UIOverride_Type_Difference, "DIFFERENCE", 0, "Difference", "Store difference to linked data value"},
        {UIOverride_Type_Factor, "FACTOR", 0, "Factor", "Store factor to linked data value (useful e.g. for scale)"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 
index 65928ce..28f0cbf 100644 (file)
@@ -153,7 +153,7 @@ typedef struct uiWidgetType {
 static const float cornervec[WIDGET_CURVE_RESOLU][2] = {
        {0.0, 0.0}, {0.195, 0.02}, {0.383, 0.067},
        {0.55, 0.169}, {0.707, 0.293}, {0.831, 0.45},
-       {0.924, 0.617}, {0.98, 0.805}, {1.0, 1.0}
+       {0.924, 0.617}, {0.98, 0.805}, {1.0, 1.0},
 };
 
 
@@ -161,7 +161,7 @@ const float ui_pixel_jitter[UI_PIXEL_AA_JITTER][2] = {
        { 0.468813, -0.481430}, {-0.155755, -0.352820},
        { 0.219306, -0.238501}, {-0.393286, -0.110949},
        {-0.024699,  0.013908}, { 0.343805,  0.147431},
-       {-0.272855,  0.269918}, { 0.095909,  0.388710}
+       {-0.272855,  0.269918}, { 0.095909,  0.388710},
 };
 #define WIDGET_AA_JITTER UI_PIXEL_AA_JITTER
 #define jit ui_pixel_jitter
@@ -171,36 +171,36 @@ const float ui_pixel_jitter[UI_PIXEL_AA_JITTER][2] = {
  * \{ */
 
 static const float g_shape_preset_number_arrow_vert[3][2] = {
-       {-0.352077, 0.532607}, {-0.352077, -0.549313}, {0.330000, -0.008353}
+       {-0.352077, 0.532607}, {-0.352077, -0.549313}, {0.330000, -0.008353},
 };
 static const uint g_shape_preset_number_arrow_face[1][3] = {
-       {0, 1, 2}
+       {0, 1, 2},
 };
 
 static const float g_shape_preset_scroll_circle_vert[16][2] = {
        {0.382684, 0.923879}, {0.000001, 1.000000}, {-0.382683, 0.923880}, {-0.707107, 0.707107},
        {-0.923879, 0.382684}, {-1.000000, 0.000000}, {-0.923880, -0.382684}, {-0.707107, -0.707107},
        {-0.382683, -0.923880}, {0.000000, -1.000000}, {0.382684, -0.923880}, {0.707107, -0.707107},
-       {0.923880, -0.382684}, {1.000000, -0.000000}, {0.923880, 0.382683}, {0.707107, 0.707107}
+       {0.923880, -0.382684}, {1.000000, -0.000000}, {0.923880, 0.382683}, {0.707107, 0.707107},
 };
 static const uint g_shape_preset_scroll_circle_face[14][3] = {
        {0, 1, 2}, {2, 0, 3}, {3, 0, 15}, {3, 15, 4}, {4, 15, 14}, {4, 14, 5}, {5, 14, 13}, {5, 13, 6},
-       {6, 13, 12}, {6, 12, 7}, {7, 12, 11}, {7, 11, 8}, {8, 11, 10}, {8, 10, 9}
+       {6, 13, 12}, {6, 12, 7}, {7, 12, 11}, {7, 11, 8}, {8, 11, 10}, {8, 10, 9},
 };
 
 static const float g_shape_preset_menu_arrow_vert[6][2] = {
        {-0.33, 0.16}, {0.33, 0.16}, {0, 0.82},
-       {0, -0.82}, {-0.33, -0.16}, {0.33, -0.16}
+       {0, -0.82}, {-0.33, -0.16}, {0.33, -0.16},
 };
 static const uint g_shape_preset_menu_arrow_face[2][3] = {{2, 0, 1}, {3, 5, 4}};
 
 static const float g_shape_preset_checkmark_vert[6][2] = {
        {-0.578579, 0.253369},  {-0.392773, 0.412794},  {-0.004241, -0.328551},
-       {-0.003001, 0.034320},  {1.055313, 0.864744},   {0.866408, 1.026895}
+       {-0.003001, 0.034320},  {1.055313, 0.864744},   {0.866408, 1.026895},
 };
 
 static const uint g_shape_preset_checkmark_face[4][3] = {
-       {3, 2, 4}, {3, 4, 5}, {1, 0, 3}, {0, 2, 3}
+       {3, 2, 4}, {3, 4, 5}, {1, 0, 3}, {0, 2, 3},
 };
 
 #define OY (-0.2 / 2)
@@ -2984,7 +2984,7 @@ static void ui_draw_separator(const rcti *rect, const uiWidgetColors *wcol)
                wcol->text[0],
                wcol->text[1],
                wcol->text[2],
-               30
+               30,
        };
 
        uint pos = GPU_vertformat_attr_add(immVertexFormat(), "pos", GPU_COMP_F32, 2, GPU_FETCH_FLOAT);
index aa76d6e..dd58949 100644 (file)
@@ -412,7 +412,7 @@ void WM_OT_collada_export(wmOperatorType *ot)
        static const EnumPropertyItem prop_bc_export_mesh_type[] = {
                {BC_MESH_TYPE_VIEW, "view", 0, "View", "Apply modifier's view settings"},
                {BC_MESH_TYPE_RENDER, "render", 0, "Render", "Apply modifier's render settings"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        static const EnumPropertyItem prop_bc_export_transformation_type[] = {
index 5d5f8d0..8c26541 100644 (file)
@@ -346,7 +346,8 @@ void LATTICE_OT_flip(wmOperatorType *ot)
                {LATTICE_FLIP_U, "U", 0, "U (X) Axis", ""},
                {LATTICE_FLIP_V, "V", 0, "V (Y) Axis", ""},
                {LATTICE_FLIP_W, "W", 0, "W (Z) Axis", ""},
-               {0, NULL, 0, NULL, NULL}};
+               {0, NULL, 0, NULL, NULL},
+       };
 
        /* identifiers */
        ot->name = "Flip (Distortion Free)";
index fd7590a..12b3a9d 100644 (file)
@@ -1912,7 +1912,7 @@ void MASK_OT_handle_type_set(wmOperatorType *ot)
                {HD_ALIGN, "ALIGNED", 0, "Aligned Single", ""},
                {HD_ALIGN_DOUBLESIDE, "ALIGNED_DOUBLESIDE", 0, "Aligned", ""},
                {HD_FREE, "FREE", 0, "Free", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2154,7 +2154,7 @@ void MASK_OT_layer_move(wmOperatorType *ot)
        static const EnumPropertyItem direction_items[] = {
                {-1, "UP", 0, "Up", ""},
                {1, "DOWN", 0, "Down", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index ca8260b..dde4c9b 100644 (file)
@@ -208,7 +208,8 @@ static const EnumPropertyItem fill_type_items[] = {
        {0, "NOTHING", 0, "Nothing", "Don't fill at all"},
        {1, "NGON", 0, "Ngon", "Use ngons"},
        {2, "TRIFAN", 0, "Triangle Fan", "Use triangle fans"},
-       {0, NULL, 0, NULL, NULL}};
+       {0, NULL, 0, NULL, NULL},
+};
 
 static int add_primitive_circle_exec(bContext *C, wmOperator *op)
 {
index 2a8dde6..2c14ab0 100644 (file)
@@ -228,7 +228,7 @@ void MESH_OT_intersect(struct wmOperatorType *ot)
                 "Self intersect selected faces"},
                {ISECT_SEL_UNSEL, "SELECT_UNSELECT", 0, "Selected/Unselected",
                 "Intersect selected with unselected faces"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        static const EnumPropertyItem isect_separate_items[] = {
@@ -238,7 +238,7 @@ void MESH_OT_intersect(struct wmOperatorType *ot)
                 "Cut into geometry keeping each side separate (Selected/Unselected only)"},
                {ISECT_SEPARATE_NONE, "NONE", 0, "Merge",
                 "Merge all geometry from the intersection"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -324,7 +324,7 @@ void MESH_OT_intersect_boolean(struct wmOperatorType *ot)
                {BMESH_ISECT_BOOLEAN_ISECT, "INTERSECT", 0, "Intersect", ""},
                {BMESH_ISECT_BOOLEAN_UNION, "UNION", 0, "Union", ""},
                {BMESH_ISECT_BOOLEAN_DIFFERENCE, "DIFFERENCE", 0, "Difference", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 379c4e7..d7349ea 100644 (file)
@@ -2749,7 +2749,7 @@ wmKeyMap *knifetool_modal_keymap(wmKeyConfig *keyconf)
                {KNF_MODAL_NEW_CUT, "NEW_CUT", 0, "End Current Cut", ""},
                {KNF_MODAL_ADD_CUT, "ADD_CUT", 0, "Add Cut", ""},
                {KNF_MODAL_PANNING, "PANNING", 0, "Panning", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        wmKeyMap *keymap = WM_modalkeymap_get(keyconf, "Knife Tool Modal Map");
index 4aa9881..34bf956 100644 (file)
@@ -1459,7 +1459,7 @@ void MESH_OT_select_mode(wmOperatorType *ot)
                {0, "DISABLE", 0, "Disable", "Disable selected markers"},
                {1, "ENABLE", 0, "Enable", "Enable selected markers"},
                {2, "TOGGLE", 0, "Toggle", "Toggle disabled flag for selected markers"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -3323,7 +3323,7 @@ void MESH_OT_select_face_by_sides(wmOperatorType *ot)
                {1, "EQUAL", 0, "Equal To", ""},
                {2, "GREATER", 0, "Greater Than", ""},
                {3, "NOTEQUAL", 0, "Not Equal To", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -4441,7 +4441,7 @@ void MESH_OT_select_axis(wmOperatorType *ot)
                {SELECT_AXIS_POS, "POS", 0, "Positive Axis", ""},
                {SELECT_AXIS_NEG, "NEG", 0, "Negative Axis", ""},
                {SELECT_AXIS_ALIGN, "ALIGN",  0, "Aligned Axis", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index d067002..fc058fe 100644 (file)
@@ -56,7 +56,7 @@ static const EnumPropertyItem prop_similar_compare_types[] = {
        {SIM_CMP_GT, "GREATER", 0, "Greater", ""},
        {SIM_CMP_LT, "LESS", 0, "Less", ""},
 
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static const EnumPropertyItem prop_similar_types[] = {
@@ -89,7 +89,7 @@ static const EnumPropertyItem prop_similar_types[] = {
        {SIMFACE_FREESTYLE, "FREESTYLE_FACE", 0, "Freestyle Face Marks", ""},
 #endif
 
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static int mesh_select_similar_compare_int(const int delta, const int compare)
index cae06e6..a8d8a0c 100644 (file)
@@ -141,7 +141,7 @@ static const EnumPropertyItem prop_mesh_cornervert_types[] = {
        {SUBD_CORNER_PATH,          "PATH", 0,           "Path", ""},
        {SUBD_CORNER_STRAIGHT_CUT,  "STRAIGHT_CUT", 0,   "Straight Cut", ""},
        {SUBD_CORNER_FAN,           "FAN", 0,            "Fan", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 void MESH_OT_subdivide(wmOperatorType *ot)
@@ -206,7 +206,7 @@ static void mesh_operator_edgering_props(wmOperatorType *ot, const int cuts_min,
                {SUBD_RING_INTERP_LINEAR, "LINEAR", 0, "Linear", ""},
                {SUBD_RING_INTERP_PATH, "PATH", 0, "Blend Path", ""},
                {SUBD_RING_INTERP_SURF, "SURFACE", 0, "Blend Surface", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        PropertyRNA *prop;
@@ -491,7 +491,7 @@ void MESH_OT_delete(wmOperatorType *ot)
                {MESH_DELETE_FACE,      "FACE",      0, "Faces", ""},
                {MESH_DELETE_EDGE_FACE, "EDGE_FACE", 0, "Only Edges & Faces", ""},
                {MESH_DELETE_ONLY_FACE, "ONLY_FACE", 0, "Only Faces", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2836,7 +2836,7 @@ static const EnumPropertyItem merge_type_items[] = {
        {MESH_MERGE_CENTER, "CENTER", 0, "At Center", ""},
        {MESH_MERGE_CURSOR, "CURSOR", 0, "At Cursor", ""},
        {MESH_MERGE_COLLAPSE, "COLLAPSE", 0, "Collapse", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static const EnumPropertyItem *merge_type_itemf(bContext *C, PointerRNA *UNUSED(ptr),  PropertyRNA *UNUSED(prop), bool *r_free)
@@ -3363,7 +3363,7 @@ static const EnumPropertyItem knife_items[] = {
        {KNIFE_EXACT, "EXACT", 0, "Exact", ""},
        {KNIFE_MIDPOINT, "MIDPOINTS", 0, "Midpoints", ""},
        {KNIFE_MULTICUT, "MULTICUT", 0, "Multicut", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* bm_edge_seg_isect() Determines if and where a mouse trail intersects an BMEdge */
@@ -4076,7 +4076,7 @@ void MESH_OT_separate(wmOperatorType *ot)
                {MESH_SEPARATE_SELECTED, "SELECTED", 0, "Selection", ""},
                {MESH_SEPARATE_MATERIAL, "MATERIAL", 0, "By Material", ""},
                {MESH_SEPARATE_LOOSE, "LOOSE", 0, "By loose parts", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -4642,7 +4642,8 @@ void MESH_OT_poke(wmOperatorType *ot)
                {BMOP_POKE_MEDIAN_WEIGHTED, "MEDIAN_WEIGHTED", 0, "Weighted Median", "Weighted median face center"},
                {BMOP_POKE_MEDIAN, "MEDIAN", 0, "Median", "Median face center"},
                {BMOP_POKE_BOUNDS, "BOUNDS", 0, "Bounds", "Face bounds center"},
-               {0, NULL, 0, NULL, NULL}};
+               {0, NULL, 0, NULL, NULL},
+       };
 
 
        /* identifiers */
@@ -6380,7 +6381,7 @@ void MESH_OT_bridge_edge_loops(wmOperatorType *ot)
                {MESH_BRIDGELOOP_SINGLE, "SINGLE", 0, "Open Loop", ""},
                {MESH_BRIDGELOOP_CLOSED, "CLOSED", 0, "Closed Loop", ""},
                {MESH_BRIDGELOOP_PAIRS, "PAIRS", 0, "Loop Pairs", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -7122,7 +7123,7 @@ wmKeyMap *point_normals_modal_keymap(wmKeyConfig *keyconf)
                 "Set new 3D cursor position and use it"},
                {EDBM_CLNOR_MODAL_POINTTO_SET_USE_SELECTED, "SET_USE_SELECTED", 0, "Select and Use Mesh Item",
                 "Select new active mesh element and use its location"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
        static const char *keymap_name = "Custom Normals Modal Map";
 
@@ -7152,7 +7153,7 @@ static EnumPropertyItem clnors_pointto_mode_items[] = {
        {EDBM_CLNOR_POINTTO_MODE_COORDINATES, "COORDINATES", 0, "Coordinates",
                                              "Use static coordinates (defined by various means)"},
        {EDBM_CLNOR_POINTTO_MODE_MOUSE, "MOUSE", 0, "Mouse", "Follow mouse cursor"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* Initialize loop normal data */
@@ -7768,7 +7769,7 @@ static EnumPropertyItem average_method_items[] = {
        {EDBM_CLNOR_AVERAGE_LOOP, "CUSTOM_NORMAL", 0, "Custom Normal", "Take Average of vert Normals"},
        {EDBM_CLNOR_AVERAGE_FACE_AREA, "FACE_AREA", 0, "Face Area", "Set all vert normals by Face Area"},
        {EDBM_CLNOR_AVERAGE_ANGLE, "CORNER_ANGLE", 0, "Corner Angle", "Set all vert normals by Corner Angle"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static int edbm_average_normals_exec(bContext *C, wmOperator *op)
@@ -7965,7 +7966,7 @@ static EnumPropertyItem normal_vector_tool_items[] = {
        {EDBM_CLNOR_TOOLS_ADD, "ADD", 0, "Add Normal", "Add normal vector with selection"},
        {EDBM_CLNOR_TOOLS_MULTIPLY, "MULTIPLY", 0, "Multiply Normal", "Multiply normal vector with selection"},
        {EDBM_CLNOR_TOOLS_RESET, "RESET", 0, "Reset Normal", "Reset buffer and/or normal of selected element"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static int edbm_normals_tools_exec(bContext *C, wmOperator *op)
index cacb2f0..3580fa2 100644 (file)
@@ -183,7 +183,7 @@ enum {
        SIMMBALL_TYPE = 1,
        SIMMBALL_RADIUS,
        SIMMBALL_STIFFNESS,
-       SIMMBALL_ROTATION
+       SIMMBALL_ROTATION,
 };
 
 static const EnumPropertyItem prop_similar_types[] = {
@@ -191,7 +191,7 @@ static const EnumPropertyItem prop_similar_types[] = {
        {SIMMBALL_RADIUS, "RADIUS", 0, "Radius", ""},
        {SIMMBALL_STIFFNESS, "STIFFNESS", 0, "Stiffness", ""},
        {SIMMBALL_ROTATION, "ROTATION", 0, "Rotation", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static void mball_select_similar_type_get(Object *obedit, MetaBall *mb, int  type, KDTree *r_tree)
index a057698..f7e12d2 100644 (file)
@@ -122,7 +122,7 @@ const EnumPropertyItem rna_enum_light_type_items[] = {
        {LA_SUN, "SUN", ICON_LIGHT_SUN, "Sun", "Constant direction parallel ray light source"},
        {LA_SPOT, "SPOT", ICON_LIGHT_SPOT, "Spot", "Directional cone light source"},
        {LA_AREA, "AREA", ICON_LIGHT_AREA, "Area", "Directional area light source"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* copy from rna_object_force.c */
@@ -140,7 +140,7 @@ static const EnumPropertyItem field_type_items[] = {
        {PFIELD_TURBULENCE, "TURBULENCE", ICON_FORCE_TURBULENCE, "Turbulence", ""},
        {PFIELD_DRAG, "DRAG", ICON_FORCE_DRAG, "Drag", ""},
        {PFIELD_SMOKEFLOW, "SMOKE", ICON_FORCE_SMOKEFLOW, "Smoke Flow", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static EnumPropertyItem lightprobe_type_items[] = {
@@ -150,7 +150,7 @@ static EnumPropertyItem lightprobe_type_items[] = {
      "Planar reflection probe"},
        {LIGHTPROBE_TYPE_GRID, "GRID", ICON_LIGHTPROBE_GRID, "Irradiance Volume",
      "Irradiance probe to capture diffuse indirect lighting"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /************************** Exported *****************************/
@@ -1758,7 +1758,7 @@ void OBJECT_OT_duplicates_make_real(wmOperatorType *ot)
 static const EnumPropertyItem convert_target_items[] = {
        {OB_CURVE, "CURVE", ICON_OUTLINER_OB_CURVE, "Curve from Mesh/Text", ""},
        {OB_MESH, "MESH", ICON_OUTLINER_OB_MESH, "Mesh from Curve/Meta/Surf/Text", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static void convert_ensure_curve_cache(Depsgraph *depsgraph, Scene *scene, Object *ob)
index f53ea96..950cab4 100644 (file)
@@ -584,7 +584,8 @@ static void object_test_constraint(Main *bmain, Object *owner, bConstraint *con)
 static const EnumPropertyItem constraint_owner_items[] = {
        {EDIT_CONSTRAINT_OWNER_OBJECT, "OBJECT", 0, "Object", "Edit a constraint on the active object"},
        {EDIT_CONSTRAINT_OWNER_BONE, "BONE", 0, "Bone", "Edit a constraint on the active bone"},
-       {0, NULL, 0, NULL, NULL}};
+       {0, NULL, 0, NULL, NULL},
+};
 
 
 static bool edit_constraint_poll_generic(bContext *C, StructRNA *rna_type)
index 7000107..3d53cb5 100644 (file)
@@ -81,7 +81,7 @@ static const EnumPropertyItem DT_layer_items[] = {
        {0, "", 0, "Face Data", ""},
        {DT_TYPE_SHARP_FACE, "SMOOTH", 0, "Smooth", "Transfer flat/smooth mark"},
        {DT_TYPE_FREESTYLE_FACE, "FREESTYLE_FACE", 0, "Freestyle Mark", "Transfer Freestyle face mark"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* Note: rna_enum_dt_layers_select_src_items enum is from rna_modifier.c */
index 70a1eab..dcdb83b 100644 (file)
@@ -473,7 +473,7 @@ void OBJECT_OT_face_map_move(wmOperatorType *ot)
        static EnumPropertyItem fmap_slot_move[] = {
                {1, "UP", 0, "Up", ""},
                {-1, "DOWN", 0, "Down", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 1a25c63..d4aa879 100644 (file)
@@ -574,7 +574,7 @@ static int gpencil_modifier_apply_invoke(bContext *C, wmOperator *op, const wmEv
 static const EnumPropertyItem gpencil_modifier_apply_as_items[] = {
        {MODIFIER_APPLY_DATA, "DATA", 0, "Object Data", "Apply modifier to the object's data"},
        {MODIFIER_APPLY_SHAPE, "SHAPE", 0, "New Shape", "Apply deform-only modifier to a new shape on this object"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 void OBJECT_OT_gpencil_modifier_apply(wmOperatorType *ot)
index 941d320..d676bf1 100644 (file)
@@ -36,7 +36,7 @@ struct ModifierData;
 enum eObject_Hook_Add_Mode {
        OBJECT_ADDHOOK_NEWOB = 1,
        OBJECT_ADDHOOK_SELOB,
-       OBJECT_ADDHOOK_SELOB_BONE
+       OBJECT_ADDHOOK_SELOB_BONE,
 };
 
 /* internal exports only */
index f887364..f463b70 100644 (file)
@@ -1062,7 +1062,7 @@ static int modifier_apply_invoke(bContext *C, wmOperator *op, const wmEvent *UNU
 static const EnumPropertyItem modifier_apply_as_items[] = {
        {MODIFIER_APPLY_DATA, "DATA", 0, "Object Data", "Apply modifier to the object's data"},
        {MODIFIER_APPLY_SHAPE, "SHAPE", 0, "New Shape", "Apply deform-only modifier to a new shape on this object"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 void OBJECT_OT_modifier_apply(wmOperatorType *ot)
@@ -1622,7 +1622,7 @@ void OBJECT_OT_skin_loose_mark_clear(wmOperatorType *ot)
        static const EnumPropertyItem action_items[] = {
                {SKIN_LOOSE_MARK, "MARK", 0, "Mark", "Mark selected vertices as loose"},
                {SKIN_LOOSE_CLEAR, "CLEAR", 0, "Clear", "Set selected vertices as not loose"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        ot->name = "Skin Mark/Clear Loose";
index cd74339..b38da1e 100644 (file)
@@ -446,7 +446,7 @@ EnumPropertyItem prop_clear_parent_types[] = {
         "As 'Clear Parent', but keep the current visual transformations of the object"},
        {CLEAR_PARENT_INVERSE, "CLEAR_INVERSE", 0, "Clear Parent Inverse",
         "Reset the transform corrections applied to the parenting relationship, does not remove parenting itself"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* Helper for ED_object_parent_clear() - Remove deform-modifiers associated with parent */
@@ -606,7 +606,7 @@ EnumPropertyItem prop_make_parent_types[] = {
        {PAR_LATTICE, "LATTICE", 0, "Lattice Deform", ""},
        {PAR_VERTEX, "VERTEX", 0, "Vertex", ""},
        {PAR_VERTEX_TRI, "VERTEX_TRI", 0, "Vertex (Triangle)", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 bool ED_object_parent_set(ReportList *reports, const bContext *C, Scene *scene, Object *ob, Object *par,
@@ -1085,7 +1085,7 @@ enum {
 static const EnumPropertyItem prop_clear_track_types[] = {
        {CLEAR_TRACK, "CLEAR", 0, "Clear Track", ""},
        {CLEAR_TRACK_KEEP_TRANSFORM, "CLEAR_KEEP_TRANSFORM", 0, "Clear and Keep Transformation (Clear Track)", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 /* note, poll should check for editable scene */
@@ -1155,7 +1155,7 @@ static const EnumPropertyItem prop_make_track_types[] = {
        {CREATE_TRACK_DAMPTRACK, "DAMPTRACK", 0, "Damped Track Constraint", ""},
        {CREATE_TRACK_TRACKTO, "TRACKTO", 0, "Track To Constraint", ""},
        {CREATE_TRACK_LOCKTRACK, "LOCKTRACK", 0, "Lock Track Constraint", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static int track_set_exec(bContext *C, wmOperator *op)
@@ -1547,7 +1547,8 @@ void OBJECT_OT_make_links_data(wmOperatorType *ot)
                {MAKE_LINKS_DUPLICOLLECTION, "DUPLICOLLECTION", 0, "Instance Collection", ""},
                {MAKE_LINKS_MODIFIERS,  "MODIFIERS", 0, "Modifiers", ""},
                {MAKE_LINKS_FONTS,      "FONTS", 0, "Fonts", ""},
-               {0, NULL, 0, NULL, NULL}};
+               {0, NULL, 0, NULL, NULL},
+       };
 
        /* identifiers */
        ot->name = "Link Data";
@@ -2125,7 +2126,7 @@ void OBJECT_OT_make_local(wmOperatorType *ot)
                {MAKE_LOCAL_SELECT_OBDATA, "SELECT_OBDATA", 0, "Selected Objects and Data", ""},
                {MAKE_LOCAL_SELECT_OBDATA_MATERIAL, "SELECT_OBDATA_MATERIAL", 0, "Selected Objects, Data and Materials", ""},
                {MAKE_LOCAL_ALL, "ALL", 0, "All", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
@@ -2433,7 +2434,8 @@ void OBJECT_OT_make_single_user(wmOperatorType *ot)
        static const EnumPropertyItem type_items[] = {
                {MAKE_SINGLE_USER_SELECTED, "SELECTED_OBJECTS", 0, "Selected Objects", ""},
                {MAKE_SINGLE_USER_ALL, "ALL", 0, "All", ""},
-               {0, NULL, 0, NULL, NULL}};
+               {0, NULL, 0, NULL, NULL},
+       };
 
        /* identifiers */
        ot->name = "Make Single User";
index dfa2981..93ef596 100644 (file)
@@ -439,7 +439,7 @@ enum {
        OBJECT_SELECT_LINKED_DUPGROUP,
        OBJECT_SELECT_LINKED_PARTICLE,
        OBJECT_SELECT_LINKED_LIBRARY,
-       OBJECT_SELECT_LINKED_LIBRARY_OBDATA
+       OBJECT_SELECT_LINKED_LIBRARY_OBDATA,
 };
 
 static const EnumPropertyItem prop_select_linked_types[] = {
@@ -450,7 +450,7 @@ static const EnumPropertyItem prop_select_linked_types[] = {
        {OBJECT_SELECT_LINKED_PARTICLE, "PARTICLE", 0, "Particle System", ""},
        {OBJECT_SELECT_LINKED_LIBRARY, "LIBRARY", 0, "Library", ""},
        {OBJECT_SELECT_LINKED_LIBRARY_OBDATA, "LIBRARY_OBDATA", 0, "Library (Object Data)", ""},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static bool object_select_all_by_obdata(bContext *C, void *obdata)
@@ -727,7 +727,7 @@ static const EnumPropertyItem prop_select_grouped_types[] = {
        {OBJECT_GRPSEL_COLOR, "COLOR", 0, "Color", "Object Color"},
        {OBJECT_GRPSEL_KEYINGSET, "KEYINGSET", 0, "Keying Set", "Objects included in active Keying Set"},
        {OBJECT_GRPSEL_LIGHT_TYPE, "LIGHT_TYPE", 0, "Light Type", "Matching light types"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static bool select_grouped_children(bContext *C, Object *ob, const bool recursive)
index 3b9d5a3..70ef9b8 100644 (file)
@@ -1257,13 +1257,13 @@ void OBJECT_OT_origin_set(wmOperatorType *ot)
                 "Calculate the center of mass from the surface area"},
                {ORIGIN_TO_CENTER_OF_MASS_VOLUME, "ORIGIN_CENTER_OF_VOLUME", 0, "Origin to Center of Mass (Volume)",
                 "Calculate the center of mass from the volume (must be manifold geometry with consistent normals)"},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        static const EnumPropertyItem prop_set_bounds_types[] = {
                {V3D_AROUND_CENTER_MEDIAN, "MEDIAN", 0, "Median Center", ""},
                {V3D_AROUND_CENTER_BOUNDS, "BOUNDS", 0, "Bounds Center", ""},
-               {0, NULL, 0, NULL, NULL}
+               {0, NULL, 0, NULL, NULL},
        };
 
        /* identifiers */
index 7533a05..51ed9da 100644 (file)
@@ -674,7 +674,7 @@ static const EnumPropertyItem WT_vertex_group_select_item[] = {
         "BONE_DEFORM", 0, "Deform Pose Bones", "All Vertex Groups assigned to Deform Bones"},
        {WT_VGROUP_ALL,
         "ALL", 0, "All Groups", "All Vertex Groups"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 const EnumPropertyItem *ED_object_vgroup_selection_itemf_helper(
@@ -1616,7 +1616,7 @@ enum {
        VGROUP_TOGGLE,
        VGROUP_LOCK,
        VGROUP_UNLOCK,
-       VGROUP_INVERT
+       VGROUP_INVERT,
 };
 
 static const EnumPropertyItem vgroup_lock_actions[] = {
@@ -1624,7 +1624,7 @@ static const EnumPropertyItem vgroup_lock_actions[] = {
        {VGROUP_LOCK, "LOCK", 0, "Lock", "Lock all vertex groups"},
        {VGROUP_UNLOCK, "UNLOCK", 0, "Unlock", "Unlock all vertex groups"},
        {VGROUP_INVERT, "INVERT", 0, "Invert", "Invert the lock state of all vertex groups"},
-       {0, NULL, 0, NULL, NULL}
+       {0, NULL, 0, NULL, NULL},
 };
 
 static void vgroup_lock_all(Object *ob, int action)
@@ -3664,7 +3664,7 @@ void OBJECT_OT_vertex_group_sort(wmOperatorType *ot)
        static const EnumPropertyItem vgroup_sort_type[] = {
                {SORT_TYPE_NAME, "NAME", 0, "Name", ""},
                {SORT_TYPE_BONEHIERARCHY, "BONE_HIERARCHY", 0, "Bone Hierarchy", ""},
-               {0,&n