[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [50222] branches/smoke2: Merge from trunk r49908-r50219
Daniel Genrich
daniel.genrich at gmx.net
Sun Aug 26 15:34:18 CEST 2012
Revision: 50222
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50222
Author: genscher
Date: 2012-08-26 13:34:17 +0000 (Sun, 26 Aug 2012)
Log Message:
-----------
Merge from trunk r49908-r50219
Revision Links:
--------------
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=49908
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=50219
Modified Paths:
--------------
branches/smoke2/CMakeLists.txt
branches/smoke2/GNUmakefile
branches/smoke2/build_files/cmake/config/blender_lite.cmake
branches/smoke2/build_files/scons/config/win64-mingw-config.py
branches/smoke2/build_files/scons/tools/Blender.py
branches/smoke2/build_files/scons/tools/btools.py
branches/smoke2/doc/python_api/rst/info_best_practice.rst
branches/smoke2/doc/python_api/rst/info_gotcha.rst
branches/smoke2/extern/recastnavigation/Recast/Source/RecastFilter.cpp
branches/smoke2/intern/CMakeLists.txt
branches/smoke2/intern/cycles/CMakeLists.txt
branches/smoke2/intern/cycles/bvh/bvh.cpp
branches/smoke2/intern/ghost/GHOST_C-api.h
branches/smoke2/intern/guardedalloc/MEM_guardedalloc.h
branches/smoke2/intern/guardedalloc/intern/mallocn.c
branches/smoke2/intern/iksolver/CMakeLists.txt
branches/smoke2/intern/iksolver/SConscript
branches/smoke2/release/scripts/modules/addon_utils.py
branches/smoke2/release/scripts/modules/blend_render_info.py
branches/smoke2/release/scripts/modules/bpy/path.py
branches/smoke2/release/scripts/modules/bpy/utils.py
branches/smoke2/release/scripts/modules/bpy_extras/anim_utils.py
branches/smoke2/release/scripts/modules/console_python.py
branches/smoke2/release/scripts/modules/rna_xml.py
branches/smoke2/release/scripts/startup/bl_operators/console.py
branches/smoke2/release/scripts/startup/bl_operators/node.py
branches/smoke2/release/scripts/startup/bl_operators/wm.py
branches/smoke2/release/scripts/startup/bl_ui/properties_animviz.py
branches/smoke2/release/scripts/startup/bl_ui/properties_data_curve.py
branches/smoke2/release/scripts/startup/bl_ui/properties_data_lamp.py
branches/smoke2/release/scripts/startup/bl_ui/properties_mask_common.py
branches/smoke2/release/scripts/startup/bl_ui/properties_particle.py
branches/smoke2/release/scripts/startup/bl_ui/properties_physics_field.py
branches/smoke2/release/scripts/startup/bl_ui/space_console.py
branches/smoke2/release/scripts/startup/bl_ui/space_image.py
branches/smoke2/release/scripts/startup/bl_ui/space_sequencer.py
branches/smoke2/release/scripts/startup/bl_ui/space_userpref.py
branches/smoke2/release/scripts/startup/bl_ui/space_view3d.py
branches/smoke2/release/scripts/startup/bl_ui/space_view3d_toolbar.py
branches/smoke2/release/scripts/templates/addon_add_object.py
branches/smoke2/release/scripts/templates/operator_mesh_add.py
branches/smoke2/source/blender/blenfont/intern/blf_dir.c
branches/smoke2/source/blender/blenfont/intern/blf_font.c
branches/smoke2/source/blender/blenfont/intern/blf_glyph.c
branches/smoke2/source/blender/blenkernel/BKE_colortools.h
branches/smoke2/source/blender/blenkernel/BKE_context.h
branches/smoke2/source/blender/blenkernel/BKE_fcurve.h
branches/smoke2/source/blender/blenkernel/BKE_font.h
branches/smoke2/source/blender/blenkernel/BKE_mask.h
branches/smoke2/source/blender/blenkernel/BKE_material.h
branches/smoke2/source/blender/blenkernel/BKE_mball.h
branches/smoke2/source/blender/blenkernel/BKE_node.h
branches/smoke2/source/blender/blenkernel/BKE_object.h
branches/smoke2/source/blender/blenkernel/BKE_packedFile.h
branches/smoke2/source/blender/blenkernel/BKE_screen.h
branches/smoke2/source/blender/blenkernel/BKE_sequencer.h
branches/smoke2/source/blender/blenkernel/CMakeLists.txt
branches/smoke2/source/blender/blenkernel/intern/CCGSubSurf.c
branches/smoke2/source/blender/blenkernel/intern/CCGSubSurf.h
branches/smoke2/source/blender/blenkernel/intern/DerivedMesh.c
branches/smoke2/source/blender/blenkernel/intern/anim.c
branches/smoke2/source/blender/blenkernel/intern/armature.c
branches/smoke2/source/blender/blenkernel/intern/boids.c
branches/smoke2/source/blender/blenkernel/intern/brush.c
branches/smoke2/source/blender/blenkernel/intern/cdderivedmesh.c
branches/smoke2/source/blender/blenkernel/intern/colortools.c
branches/smoke2/source/blender/blenkernel/intern/constraint.c
branches/smoke2/source/blender/blenkernel/intern/curve.c
branches/smoke2/source/blender/blenkernel/intern/customdata.c
branches/smoke2/source/blender/blenkernel/intern/depsgraph.c
branches/smoke2/source/blender/blenkernel/intern/dynamicpaint.c
branches/smoke2/source/blender/blenkernel/intern/editderivedmesh.c
branches/smoke2/source/blender/blenkernel/intern/fcurve.c
branches/smoke2/source/blender/blenkernel/intern/font.c
branches/smoke2/source/blender/blenkernel/intern/gpencil.c
branches/smoke2/source/blender/blenkernel/intern/group.c
branches/smoke2/source/blender/blenkernel/intern/idprop.c
branches/smoke2/source/blender/blenkernel/intern/image.c
branches/smoke2/source/blender/blenkernel/intern/ipo.c
branches/smoke2/source/blender/blenkernel/intern/key.c
branches/smoke2/source/blender/blenkernel/intern/mask.c
branches/smoke2/source/blender/blenkernel/intern/mask_rasterize.c
branches/smoke2/source/blender/blenkernel/intern/material.c
branches/smoke2/source/blender/blenkernel/intern/mball.c
branches/smoke2/source/blender/blenkernel/intern/mesh.c
branches/smoke2/source/blender/blenkernel/intern/nla.c
branches/smoke2/source/blender/blenkernel/intern/node.c
branches/smoke2/source/blender/blenkernel/intern/object.c
branches/smoke2/source/blender/blenkernel/intern/packedFile.c
branches/smoke2/source/blender/blenkernel/intern/scene.c
branches/smoke2/source/blender/blenkernel/intern/seqcache.c
branches/smoke2/source/blender/blenkernel/intern/seqeffects.c
branches/smoke2/source/blender/blenkernel/intern/sequencer.c
branches/smoke2/source/blender/blenkernel/intern/sound.c
branches/smoke2/source/blender/blenkernel/intern/subsurf_ccg.c
branches/smoke2/source/blender/blenkernel/intern/texture.c
branches/smoke2/source/blender/blenkernel/intern/world.c
branches/smoke2/source/blender/blenkernel/intern/writeffmpeg.c
branches/smoke2/source/blender/blenlib/BLI_listbase.h
branches/smoke2/source/blender/blenlib/BLI_math_base.h
branches/smoke2/source/blender/blenlib/BLI_math_rotation.h
branches/smoke2/source/blender/blenlib/BLI_pbvh.h
branches/smoke2/source/blender/blenlib/BLI_rect.h
branches/smoke2/source/blender/blenlib/BLI_string.h
branches/smoke2/source/blender/blenlib/BLI_utildefines.h
branches/smoke2/source/blender/blenlib/BLI_vfontdata.h
branches/smoke2/source/blender/blenlib/intern/freetypefont.c
branches/smoke2/source/blender/blenlib/intern/listbase.c
branches/smoke2/source/blender/blenlib/intern/math_rotation.c
branches/smoke2/source/blender/blenlib/intern/pbvh.c
branches/smoke2/source/blender/blenlib/intern/rct.c
branches/smoke2/source/blender/blenlib/intern/string.c
branches/smoke2/source/blender/blenlib/intern/voronoi.c
branches/smoke2/source/blender/blenloader/intern/readfile.c
branches/smoke2/source/blender/blenloader/intern/versioning_250.c
branches/smoke2/source/blender/blenloader/intern/versioning_legacy.c
branches/smoke2/source/blender/blenloader/intern/writefile.c
branches/smoke2/source/blender/bmesh/intern/bmesh_core.c
branches/smoke2/source/blender/bmesh/intern/bmesh_error.h
branches/smoke2/source/blender/bmesh/intern/bmesh_interp.c
branches/smoke2/source/blender/bmesh/intern/bmesh_interp.h
branches/smoke2/source/blender/bmesh/intern/bmesh_marking.c
branches/smoke2/source/blender/bmesh/intern/bmesh_mesh_conv.c
branches/smoke2/source/blender/bmesh/intern/bmesh_mods.c
branches/smoke2/source/blender/bmesh/intern/bmesh_mods.h
branches/smoke2/source/blender/bmesh/intern/bmesh_opdefines.c
branches/smoke2/source/blender/bmesh/intern/bmesh_operator_api.h
branches/smoke2/source/blender/bmesh/intern/bmesh_polygon.c
branches/smoke2/source/blender/bmesh/intern/bmesh_queries.c
branches/smoke2/source/blender/bmesh/operators/bmo_connect.c
branches/smoke2/source/blender/bmesh/operators/bmo_create.c
branches/smoke2/source/blender/bmesh/operators/bmo_extrude.c
branches/smoke2/source/blender/bmesh/operators/bmo_utils.c
branches/smoke2/source/blender/collada/AnimationExporter.h
branches/smoke2/source/blender/collada/AnimationImporter.cpp
branches/smoke2/source/blender/collada/EffectExporter.cpp
branches/smoke2/source/blender/collada/GeometryExporter.cpp
branches/smoke2/source/blender/collada/ImageExporter.cpp
branches/smoke2/source/blender/collada/InstanceWriter.cpp
branches/smoke2/source/blender/collada/TransformReader.h
branches/smoke2/source/blender/collada/collada_internal.h
branches/smoke2/source/blender/compositor/CMakeLists.txt
branches/smoke2/source/blender/compositor/intern/COM_ChunkOrder.cpp
branches/smoke2/source/blender/compositor/intern/COM_ChunkOrder.h
branches/smoke2/source/blender/compositor/intern/COM_Converter.cpp
branches/smoke2/source/blender/compositor/intern/COM_ExecutionGroup.cpp
branches/smoke2/source/blender/compositor/intern/COM_ExecutionSystem.h
branches/smoke2/source/blender/compositor/intern/COM_MemoryBuffer.cpp
branches/smoke2/source/blender/compositor/intern/COM_MemoryBuffer.h
branches/smoke2/source/blender/compositor/intern/COM_SocketReader.h
branches/smoke2/source/blender/compositor/intern/COM_WorkScheduler.cpp
branches/smoke2/source/blender/compositor/nodes/COM_BlurNode.cpp
branches/smoke2/source/blender/compositor/nodes/COM_BokehBlurNode.cpp
branches/smoke2/source/blender/compositor/nodes/COM_DistanceMatteNode.cpp
branches/smoke2/source/blender/compositor/nodes/COM_TimeNode.cpp
branches/smoke2/source/blender/compositor/operations/COM_AntiAliasOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_BlurBaseOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_BokehImageOperation.h
branches/smoke2/source/blender/compositor/operations/COM_ColorBalanceASCCDLOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_ColorCurveOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_ColorCurveOperation.h
branches/smoke2/source/blender/compositor/operations/COM_ConvolutionFilterOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_CurveBaseOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_CurveBaseOperation.h
branches/smoke2/source/blender/compositor/operations/COM_DilateErodeOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_DisplaceOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_DoubleEdgeMaskOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_GaussianAlphaXBlurOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_GaussianAlphaYBlurOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_GaussianBokehBlurOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_GaussianXBlurOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_GaussianYBlurOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_GlareGhostOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_HueSaturationValueCorrectOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_InpaintOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_MapUVOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_MovieDistortionOperation.h
branches/smoke2/source/blender/compositor/operations/COM_ProjectorLensDistortionOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_ReadBufferOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_ReadBufferOperation.h
branches/smoke2/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.h
branches/smoke2/source/blender/compositor/operations/COM_VectorBlurOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_VectorCurveOperation.cpp
branches/smoke2/source/blender/editors/animation/anim_channels_defines.c
branches/smoke2/source/blender/editors/animation/anim_deps.c
branches/smoke2/source/blender/editors/animation/anim_filter.c
branches/smoke2/source/blender/editors/animation/anim_markers.c
branches/smoke2/source/blender/editors/animation/fmodifier_ui.c
branches/smoke2/source/blender/editors/animation/keyframes_edit.c
branches/smoke2/source/blender/editors/armature/editarmature.c
branches/smoke2/source/blender/editors/curve/editcurve.c
branches/smoke2/source/blender/editors/gpencil/gpencil_edit.c
branches/smoke2/source/blender/editors/gpencil/gpencil_paint.c
branches/smoke2/source/blender/editors/include/ED_clip.h
branches/smoke2/source/blender/editors/include/ED_image.h
branches/smoke2/source/blender/editors/include/ED_node.h
branches/smoke2/source/blender/editors/include/UI_interface.h
branches/smoke2/source/blender/editors/include/UI_view2d.h
branches/smoke2/source/blender/editors/interface/interface.c
branches/smoke2/source/blender/editors/interface/interface_draw.c
branches/smoke2/source/blender/editors/interface/interface_handlers.c
branches/smoke2/source/blender/editors/interface/interface_icons.c
branches/smoke2/source/blender/editors/interface/interface_intern.h
branches/smoke2/source/blender/editors/interface/interface_layout.c
branches/smoke2/source/blender/editors/interface/interface_ops.c
branches/smoke2/source/blender/editors/interface/interface_panel.c
branches/smoke2/source/blender/editors/interface/interface_regions.c
branches/smoke2/source/blender/editors/interface/interface_style.c
branches/smoke2/source/blender/editors/interface/interface_templates.c
branches/smoke2/source/blender/editors/interface/interface_widgets.c
branches/smoke2/source/blender/editors/interface/resources.c
branches/smoke2/source/blender/editors/interface/view2d.c
branches/smoke2/source/blender/editors/interface/view2d_ops.c
branches/smoke2/source/blender/editors/io/io_collada.c
branches/smoke2/source/blender/editors/mask/mask_add.c
branches/smoke2/source/blender/editors/mask/mask_draw.c
branches/smoke2/source/blender/editors/mask/mask_select.c
branches/smoke2/source/blender/editors/mesh/editface.c
branches/smoke2/source/blender/editors/mesh/editmesh_tools.c
branches/smoke2/source/blender/editors/object/object_bake.c
branches/smoke2/source/blender/editors/object/object_edit.c
branches/smoke2/source/blender/editors/object/object_group.c
branches/smoke2/source/blender/editors/object/object_modifier.c
branches/smoke2/source/blender/editors/object/object_select.c
branches/smoke2/source/blender/editors/object/object_transform.c
branches/smoke2/source/blender/editors/object/object_vgroup.c
branches/smoke2/source/blender/editors/physics/particle_edit.c
branches/smoke2/source/blender/editors/physics/physics_fluid.c
branches/smoke2/source/blender/editors/render/render_internal.c
branches/smoke2/source/blender/editors/render/render_opengl.c
branches/smoke2/source/blender/editors/render/render_preview.c
branches/smoke2/source/blender/editors/screen/area.c
branches/smoke2/source/blender/editors/screen/glutil.c
branches/smoke2/source/blender/editors/screen/screen_edit.c
branches/smoke2/source/blender/editors/screen/screen_ops.c
branches/smoke2/source/blender/editors/screen/screendump.c
branches/smoke2/source/blender/editors/sculpt_paint/paint_cursor.c
branches/smoke2/source/blender/editors/sculpt_paint/paint_image.c
branches/smoke2/source/blender/editors/sculpt_paint/paint_ops.c
branches/smoke2/source/blender/editors/sculpt_paint/sculpt_undo.c
branches/smoke2/source/blender/editors/space_action/action_draw.c
branches/smoke2/source/blender/editors/space_action/action_edit.c
branches/smoke2/source/blender/editors/space_action/action_select.c
branches/smoke2/source/blender/editors/space_buttons/buttons_header.c
branches/smoke2/source/blender/editors/space_clip/clip_buttons.c
branches/smoke2/source/blender/editors/space_clip/clip_dopesheet_draw.c
branches/smoke2/source/blender/editors/space_clip/clip_dopesheet_ops.c
branches/smoke2/source/blender/editors/space_clip/clip_draw.c
branches/smoke2/source/blender/editors/space_clip/clip_editor.c
branches/smoke2/source/blender/editors/space_clip/clip_graph_ops.c
branches/smoke2/source/blender/editors/space_clip/clip_ops.c
branches/smoke2/source/blender/editors/space_clip/space_clip.c
branches/smoke2/source/blender/editors/space_clip/tracking_ops.c
branches/smoke2/source/blender/editors/space_clip/tracking_select.c
branches/smoke2/source/blender/editors/space_console/space_console.c
branches/smoke2/source/blender/editors/space_file/file_ops.c
branches/smoke2/source/blender/editors/space_file/filelist.c
branches/smoke2/source/blender/editors/space_file/filesel.c
branches/smoke2/source/blender/editors/space_file/space_file.c
branches/smoke2/source/blender/editors/space_graph/graph_draw.c
branches/smoke2/source/blender/editors/space_graph/graph_edit.c
branches/smoke2/source/blender/editors/space_graph/graph_select.c
branches/smoke2/source/blender/editors/space_image/image_buttons.c
branches/smoke2/source/blender/editors/space_image/image_draw.c
branches/smoke2/source/blender/editors/space_image/image_edit.c
branches/smoke2/source/blender/editors/space_image/image_ops.c
branches/smoke2/source/blender/editors/space_image/space_image.c
branches/smoke2/source/blender/editors/space_logic/logic_buttons.c
branches/smoke2/source/blender/editors/space_logic/logic_window.c
branches/smoke2/source/blender/editors/space_logic/space_logic.c
branches/smoke2/source/blender/editors/space_nla/nla_edit.c
branches/smoke2/source/blender/editors/space_nla/nla_select.c
branches/smoke2/source/blender/editors/space_node/drawnode.c
branches/smoke2/source/blender/editors/space_node/node_add.c
branches/smoke2/source/blender/editors/space_node/node_draw.c
branches/smoke2/source/blender/editors/space_node/node_edit.c
branches/smoke2/source/blender/editors/space_node/node_group.c
branches/smoke2/source/blender/editors/space_node/node_intern.h
branches/smoke2/source/blender/editors/space_node/node_ops.c
branches/smoke2/source/blender/editors/space_node/node_relationships.c
branches/smoke2/source/blender/editors/space_node/node_select.c
branches/smoke2/source/blender/editors/space_node/node_templates.c
branches/smoke2/source/blender/editors/space_node/node_view.c
branches/smoke2/source/blender/editors/space_outliner/outliner_edit.c
branches/smoke2/source/blender/editors/space_outliner/space_outliner.c
branches/smoke2/source/blender/editors/space_sequencer/CMakeLists.txt
branches/smoke2/source/blender/editors/space_sequencer/sequencer_draw.c
branches/smoke2/source/blender/editors/space_sequencer/sequencer_edit.c
branches/smoke2/source/blender/editors/space_sequencer/sequencer_intern.h
branches/smoke2/source/blender/editors/space_sequencer/sequencer_ops.c
branches/smoke2/source/blender/editors/space_text/text_draw.c
branches/smoke2/source/blender/editors/space_text/text_ops.c
branches/smoke2/source/blender/editors/space_time/time_ops.c
branches/smoke2/source/blender/editors/space_view3d/drawobject.c
branches/smoke2/source/blender/editors/space_view3d/view3d_draw.c
branches/smoke2/source/blender/editors/space_view3d/view3d_edit.c
branches/smoke2/source/blender/editors/space_view3d/view3d_fly.c
branches/smoke2/source/blender/editors/space_view3d/view3d_intern.h
branches/smoke2/source/blender/editors/space_view3d/view3d_ops.c
branches/smoke2/source/blender/editors/space_view3d/view3d_select.c
branches/smoke2/source/blender/editors/space_view3d/view3d_view.c
branches/smoke2/source/blender/editors/transform/transform.c
branches/smoke2/source/blender/editors/transform/transform_conversions.c
branches/smoke2/source/blender/editors/transform/transform_generics.c
branches/smoke2/source/blender/editors/transform/transform_manipulator.c
branches/smoke2/source/blender/editors/transform/transform_orientations.c
branches/smoke2/source/blender/editors/transform/transform_snap.c
branches/smoke2/source/blender/editors/util/undo.c
branches/smoke2/source/blender/editors/uvedit/uvedit_ops.c
branches/smoke2/source/blender/editors/uvedit/uvedit_parametrizer.c
branches/smoke2/source/blender/editors/uvedit/uvedit_unwrap_ops.c
branches/smoke2/source/blender/gpu/intern/gpu_draw.c
branches/smoke2/source/blender/gpu/intern/gpu_material.c
branches/smoke2/source/blender/ikplugin/CMakeLists.txt
branches/smoke2/source/blender/ikplugin/SConscript
branches/smoke2/source/blender/ikplugin/intern/ikplugin_api.c
branches/smoke2/source/blender/imbuf/IMB_imbuf.h
branches/smoke2/source/blender/imbuf/IMB_imbuf_types.h
branches/smoke2/source/blender/imbuf/IMB_moviecache.h
branches/smoke2/source/blender/imbuf/IMB_thumbs.h
branches/smoke2/source/blender/imbuf/intern/anim_movie.c
branches/smoke2/source/blender/imbuf/intern/dds/CMakeLists.txt
branches/smoke2/source/blender/imbuf/intern/dds/SConscript
branches/smoke2/source/blender/imbuf/intern/dds/dds_api.cpp
branches/smoke2/source/blender/imbuf/intern/imbuf_cocoa.m
branches/smoke2/source/blender/imbuf/intern/indexer.c
branches/smoke2/source/blender/imbuf/intern/openexr/CMakeLists.txt
branches/smoke2/source/blender/imbuf/intern/openexr/SConscript
branches/smoke2/source/blender/imbuf/intern/openexr/openexr_api.cpp
branches/smoke2/source/blender/imbuf/intern/scaling.c
branches/smoke2/source/blender/imbuf/intern/tiff.c
branches/smoke2/source/blender/imbuf/intern/util.c
branches/smoke2/source/blender/makesdna/DNA_color_types.h
branches/smoke2/source/blender/makesdna/DNA_curve_types.h
branches/smoke2/source/blender/makesdna/DNA_mask_types.h
branches/smoke2/source/blender/makesdna/DNA_particle_types.h
branches/smoke2/source/blender/makesdna/DNA_sequence_types.h
branches/smoke2/source/blender/makesdna/DNA_userdef_types.h
branches/smoke2/source/blender/makesdna/DNA_vfont_types.h
branches/smoke2/source/blender/makesrna/RNA_enum_types.h
branches/smoke2/source/blender/makesrna/intern/makesrna.c
branches/smoke2/source/blender/makesrna/intern/rna_color.c
branches/smoke2/source/blender/makesrna/intern/rna_mask.c
branches/smoke2/source/blender/makesrna/intern/rna_mesh.c
branches/smoke2/source/blender/makesrna/intern/rna_nodetree.c
branches/smoke2/source/blender/makesrna/intern/rna_nodetree_types.h
branches/smoke2/source/blender/makesrna/intern/rna_object.c
branches/smoke2/source/blender/makesrna/intern/rna_particle.c
branches/smoke2/source/blender/makesrna/intern/rna_scene.c
branches/smoke2/source/blender/makesrna/intern/rna_sequencer.c
branches/smoke2/source/blender/makesrna/intern/rna_space.c
branches/smoke2/source/blender/makesrna/intern/rna_tracking.c
branches/smoke2/source/blender/makesrna/intern/rna_ui_api.c
branches/smoke2/source/blender/makesrna/intern/rna_userdef.c
branches/smoke2/source/blender/modifiers/intern/MOD_boolean.c
branches/smoke2/source/blender/modifiers/intern/MOD_cast.c
branches/smoke2/source/blender/modifiers/intern/MOD_displace.c
branches/smoke2/source/blender/modifiers/intern/MOD_fluidsim.c
branches/smoke2/source/blender/modifiers/intern/MOD_lattice.c
branches/smoke2/source/blender/modifiers/intern/MOD_meshdeform.c
branches/smoke2/source/blender/modifiers/intern/MOD_particlesystem.c
branches/smoke2/source/blender/modifiers/intern/MOD_warp.c
branches/smoke2/source/blender/modifiers/intern/MOD_weightvg_util.c
branches/smoke2/source/blender/nodes/CMakeLists.txt
branches/smoke2/source/blender/nodes/NOD_composite.h
branches/smoke2/source/blender/nodes/SConscript
branches/smoke2/source/blender/nodes/composite/node_composite_tree.c
branches/smoke2/source/blender/nodes/composite/node_composite_util.c
branches/smoke2/source/blender/nodes/composite/node_composite_util.h
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_alphaOver.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_bilateralblur.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_blur.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_bokehimage.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_boxmask.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_brightness.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_channelMatte.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_chromaMatte.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_colorMatte.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_colorSpill.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_colorbalance.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_colorcorrection.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_common.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_composite.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_crop.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_curves.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_defocus.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_diffMatte.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_dilate.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_directionalblur.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_displace.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_distanceMatte.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_doubleEdgeMask.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_ellipsemask.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_filter.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_flip.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_gamma.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_glare.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_hueSatVal.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_huecorrect.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_idMask.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_image.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_inpaint.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_invert.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_keying.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_keyingscreen.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_lensdist.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_levels.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_lummaMatte.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_mapUV.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_mapValue.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_mask.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_math.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_mixrgb.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_movieclip.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_moviedistortion.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_normal.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_normalize.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_outputFile.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_premulkey.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_rgb.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_rotate.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_scale.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_sepcombHSVA.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_sepcombRGBA.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_sepcombYCCA.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_sepcombYUVA.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_setalpha.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_splitViewer.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_stabilize2d.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_texture.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_tonemap.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_trackpos.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_transform.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_translate.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_valToRgb.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_value.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_vecBlur.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_viewer.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_zcombine.c
branches/smoke2/source/blender/nodes/intern/node_common.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_attribute.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_curves.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_geom.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_mapping.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_material.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_checker.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_environment.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_gradient.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_image.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_magic.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_noise.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_sky.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_voronoi.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_tex_wave.c
branches/smoke2/source/blender/nodes/shader/nodes/node_shader_valToRgb.c
branches/smoke2/source/blender/nodes/texture/nodes/node_texture_bricks.c
branches/smoke2/source/blender/nodes/texture/nodes/node_texture_curves.c
branches/smoke2/source/blender/nodes/texture/nodes/node_texture_image.c
branches/smoke2/source/blender/nodes/texture/nodes/node_texture_output.c
branches/smoke2/source/blender/nodes/texture/nodes/node_texture_proc.c
branches/smoke2/source/blender/nodes/texture/nodes/node_texture_valToRgb.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_api.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_ops.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_types.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_types_customdata.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_types_meshdata.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_types_select.c
branches/smoke2/source/blender/python/bmesh/bmesh_py_utils.c
branches/smoke2/source/blender/python/intern/bpy.c
branches/smoke2/source/blender/python/intern/bpy_operator.c
branches/smoke2/source/blender/python/intern/bpy_rna.c
branches/smoke2/source/blender/python/mathutils/mathutils_Euler.c
branches/smoke2/source/blender/python/mathutils/mathutils_Euler.h
branches/smoke2/source/blender/python/mathutils/mathutils_Matrix.c
branches/smoke2/source/blender/quicktime/apple/qtkit_export.m
branches/smoke2/source/blender/quicktime/apple/qtkit_import.m
branches/smoke2/source/blender/render/intern/include/rayobject.h
branches/smoke2/source/blender/render/intern/source/convertblender.c
branches/smoke2/source/blender/render/intern/source/imagetexture.c
branches/smoke2/source/blender/render/intern/source/initrender.c
branches/smoke2/source/blender/render/intern/source/pipeline.c
branches/smoke2/source/blender/render/intern/source/pointdensity.c
branches/smoke2/source/blender/render/intern/source/render_result.c
branches/smoke2/source/blender/render/intern/source/render_texture.c
branches/smoke2/source/blender/render/intern/source/rendercore.c
branches/smoke2/source/blender/render/intern/source/shadbuf.c
branches/smoke2/source/blender/render/intern/source/shadeoutput.c
branches/smoke2/source/blender/windowmanager/WM_api.h
branches/smoke2/source/blender/windowmanager/intern/wm_event_system.c
branches/smoke2/source/blender/windowmanager/intern/wm_files.c
branches/smoke2/source/blender/windowmanager/intern/wm_gesture.c
branches/smoke2/source/blender/windowmanager/intern/wm_init_exit.c
branches/smoke2/source/blender/windowmanager/intern/wm_jobs.c
branches/smoke2/source/blender/windowmanager/intern/wm_operators.c
branches/smoke2/source/blender/windowmanager/intern/wm_playanim.c
branches/smoke2/source/blender/windowmanager/intern/wm_subwindow.c
branches/smoke2/source/blender/windowmanager/intern/wm_window.c
branches/smoke2/source/blender/windowmanager/wm_event_types.h
branches/smoke2/source/blenderplayer/CMakeLists.txt
branches/smoke2/source/blenderplayer/bad_level_call_stubs/stubs.c
branches/smoke2/source/creator/CMakeLists.txt
branches/smoke2/source/creator/creator.c
branches/smoke2/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
branches/smoke2/source/gameengine/Converter/KX_ConvertSensors.cpp
branches/smoke2/source/gameengine/Expressions/BoolValue.cpp
branches/smoke2/source/gameengine/GamePlayer/ghost/GPG_Application.cpp
branches/smoke2/source/gameengine/GamePlayer/ghost/GPG_Application.h
branches/smoke2/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
branches/smoke2/source/gameengine/Ketsji/BL_Texture.cpp
branches/smoke2/source/gameengine/Ketsji/KX_Camera.cpp
branches/smoke2/source/gameengine/Ketsji/KX_GameObject.cpp
branches/smoke2/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.h
branches/smoke2/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.h
branches/smoke2/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.h
branches/smoke2/source/gameengine/SceneGraph/SG_ParentRelation.h
branches/smoke2/source/gameengine/VideoTexture/ImageBuff.cpp
branches/smoke2/source/gameengine/VideoTexture/ImageBuff.h
branches/smoke2/source/gameengine/VideoTexture/VideoFFmpeg.cpp
Added Paths:
-----------
branches/smoke2/source/blender/blenkernel/intern/seqmodifier.c
branches/smoke2/source/blender/compositor/nodes/COM_DespeckleNode.cpp
branches/smoke2/source/blender/compositor/nodes/COM_DespeckleNode.h
branches/smoke2/source/blender/compositor/operations/COM_DespeckleOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_DespeckleOperation.h
branches/smoke2/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_DistanceRGBMatteOperation.h
branches/smoke2/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_DistanceYCCMatteOperation.h
branches/smoke2/source/blender/editors/space_sequencer/sequencer_modifier.c
branches/smoke2/source/blender/editors/space_sequencer/sequencer_view.c
branches/smoke2/source/blender/nodes/composite/nodes/node_composite_despeckle.c
Removed Paths:
-------------
branches/smoke2/source/blender/compositor/operations/COM_DistanceMatteOperation.cpp
branches/smoke2/source/blender/compositor/operations/COM_DistanceMatteOperation.h
Property Changed:
----------------
branches/smoke2/source/blender/editors/interface/interface.c
branches/smoke2/source/blender/editors/space_outliner/
Modified: branches/smoke2/CMakeLists.txt
===================================================================
--- branches/smoke2/CMakeLists.txt 2012-08-26 13:20:41 UTC (rev 50221)
+++ branches/smoke2/CMakeLists.txt 2012-08-26 13:34:17 UTC (rev 50222)
@@ -126,11 +126,13 @@
option(WITH_PYTHON_MODULE "Enable building as a python module which runs without a user interface, like running regular blender in background mode (experimental, only enable for development)" OFF)
option(WITH_BUILDINFO "Include extra build details (only disable for development & faster builds)" ON)
option(WITH_IK_ITASC "Enable ITASC IK solver (only disable for development & for incompatible C++ compilers)" ON)
+option(WITH_IK_SOLVER "Enable Legacy IK solver (only disable for development)" ON)
option(WITH_FFTW3 "Enable FFTW3 support (Used for smoke and audio effects)" ON)
option(WITH_BULLET "Enable Bullet (Physics Engine)" ON)
option(WITH_GAMEENGINE "Enable Game Engine" ON)
option(WITH_PLAYER "Build Player" OFF)
option(WITH_COMPOSITOR "Enable the tile based nodal compositor" ON)
+option(WITH_COMPOSITOR_LEGACY "Enable legacy compositor" ON)
# GHOST Windowing Library Options
option(WITH_GHOST_DEBUG "Enable debugging output for the GHOST library" OFF)
@@ -1041,6 +1043,8 @@
set(PLATFORM_LINKLIBS "${PLATFORM_LINKLIBS} -lpthread")
add_definitions(-DFREE_WINDOWS64 -DMS_WIN64)
+ #Turn off OpenMP since it causes crashes on render for subsurfed/multiresolution meshes
+ set(WITH_OPENMP OFF)
endif()
add_definitions(-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE)
@@ -1795,6 +1799,7 @@
info_cfg_option(WITH_GAMEENGINE)
info_cfg_option(WITH_PLAYER)
info_cfg_option(WITH_BULLET)
+ info_cfg_option(WITH_IK_SOLVER)
info_cfg_option(WITH_IK_ITASC)
info_cfg_option(WITH_OPENCOLLADA)
info_cfg_option(WITH_FFTW3)
Modified: branches/smoke2/GNUmakefile
===================================================================
--- branches/smoke2/GNUmakefile 2012-08-26 13:20:41 UTC (rev 50221)
+++ branches/smoke2/GNUmakefile 2012-08-26 13:34:17 UTC (rev 50222)
@@ -19,9 +19,9 @@
#
# ##### END GPL LICENSE BLOCK #####
-# This Makefile does an out-of-source CMake build in ../build/`OS`_`CPU`
+# This Makefile does an out-of-source CMake build in ../build_`OS`_`CPU`
# eg:
-# ../build/Linux_i386
+# ../build_linux_i386
# This is for users who like to configure & build blender with a single command.
@@ -40,7 +40,7 @@
endif
ifndef BUILD_DIR
- BUILD_DIR:=$(shell dirname $(BLENDER_DIR))/build/$(OS_NCASE)
+ BUILD_DIR:=$(shell dirname $(BLENDER_DIR))/build_$(OS_NCASE)
endif
Modified: branches/smoke2/build_files/cmake/config/blender_lite.cmake
===================================================================
--- branches/smoke2/build_files/cmake/config/blender_lite.cmake 2012-08-26 13:20:41 UTC (rev 50221)
+++ branches/smoke2/build_files/cmake/config/blender_lite.cmake 2012-08-26 13:34:17 UTC (rev 50222)
@@ -18,6 +18,7 @@
set(WITH_GAMEENGINE OFF CACHE FORCE BOOL)
set(WITH_COMPOSITOR OFF CACHE FORCE BOOL)
set(WITH_GHOST_XDND OFF CACHE FORCE BOOL)
+set(WITH_IK_SOLVER OFF CACHE FORCE BOOL)
set(WITH_IK_ITASC OFF CACHE FORCE BOOL)
set(WITH_IMAGE_CINEON OFF CACHE FORCE BOOL)
set(WITH_IMAGE_DDS OFF CACHE FORCE BOOL)
Modified: branches/smoke2/build_files/scons/config/win64-mingw-config.py
===================================================================
--- branches/smoke2/build_files/scons/config/win64-mingw-config.py 2012-08-26 13:20:41 UTC (rev 50221)
+++ branches/smoke2/build_files/scons/config/win64-mingw-config.py 2012-08-26 13:34:17 UTC (rev 50222)
@@ -170,7 +170,7 @@
BF_RAYOPTIMIZATION_SSE_FLAGS = ['-mmmx', '-msse', '-msse2']
#May produce errors with unsupported MinGW-w64 builds
-WITH_BF_OPENMP = True
+WITH_BF_OPENMP = False
##
CC = 'gcc'
Modified: branches/smoke2/build_files/scons/tools/Blender.py
===================================================================
--- branches/smoke2/build_files/scons/tools/Blender.py 2012-08-26 13:20:41 UTC (rev 50221)
+++ branches/smoke2/build_files/scons/tools/Blender.py 2012-08-26 13:34:17 UTC (rev 50222)
@@ -845,6 +845,8 @@
print bc.HEADER+'Configuring program '+bc.ENDC+bc.OKGREEN+progname+bc.ENDC
lenv = self.Clone()
lenv.Append(LINKFLAGS = lenv['PLATFORM_LINKFLAGS'])
+ if lenv['OURPLATFORM'] in ('win32-mingw', 'win64-mingw', 'linuxcross', 'cygwin', 'linux'):
+ lenv.Replace(LINK = '$CXX')
if lenv['OURPLATFORM'] in ('win32-vc', 'cygwin', 'win64-vc'):
if lenv['BF_DEBUG']:
lenv.Prepend(LINKFLAGS = ['/DEBUG','/PDB:'+progname+'.pdb','/NODEFAULTLIB:libcmt'])
Modified: branches/smoke2/build_files/scons/tools/btools.py
===================================================================
--- branches/smoke2/build_files/scons/tools/btools.py 2012-08-26 13:20:41 UTC (rev 50221)
+++ branches/smoke2/build_files/scons/tools/btools.py 2012-08-26 13:34:17 UTC (rev 50222)
@@ -108,7 +108,7 @@
'WITH_BF_STATICFFMPEG', 'BF_FFMPEG_LIB_STATIC',
'WITH_BF_OGG', 'BF_OGG', 'BF_OGG_LIB',
'WITH_BF_FRAMESERVER',
- 'WITH_BF_COMPOSITOR',
+ 'WITH_BF_COMPOSITOR', 'WITH_BF_COMPOSITOR_LEGACY',
'WITH_BF_JPEG', 'BF_JPEG', 'BF_JPEG_INC', 'BF_JPEG_LIB', 'BF_JPEG_LIBPATH',
'WITH_BF_OPENJPEG', 'BF_OPENJPEG', 'BF_OPENJPEG_INC', 'BF_OPENJPEG_LIB', 'BF_OPENJPEG_LIBPATH',
'WITH_BF_REDCODE', 'BF_REDCODE', 'BF_REDCODE_INC', 'BF_REDCODE_LIB', 'BF_REDCODE_LIBPATH',
@@ -583,7 +583,8 @@
('BF_BOOST_LIBPATH', 'Boost library path', ''),
('BF_BOOST_LIB_STATIC', 'Boost static library', ''),
- (BoolVariable('WITH_GHOST_XDND', 'Build with drag-n-drop support on Linux platforms using XDND protocol', True))
+ (BoolVariable('WITH_GHOST_XDND', 'Build with drag-n-drop support on Linux platforms using XDND protocol', True)),
+ (BoolVariable('WITH_BF_COMPOSITOR_LEGACY', 'Enable the legacy compositor', True))
) # end of opts.AddOptions()
return localopts
Modified: branches/smoke2/doc/python_api/rst/info_best_practice.rst
===================================================================
--- branches/smoke2/doc/python_api/rst/info_best_practice.rst 2012-08-26 13:20:41 UTC (rev 50221)
+++ branches/smoke2/doc/python_api/rst/info_best_practice.rst 2012-08-26 13:34:17 UTC (rev 50222)
@@ -75,7 +75,7 @@
* layout.row()
- Use row(), when you want more than 1 propertey in one line.
+ Use row(), when you want more than 1 property in one line.
.. code-block:: python
@@ -145,7 +145,7 @@
Modifying Lists
^^^^^^^^^^^^^^^
-In python we can add and remove from a list, This is slower when the list length is modified, especially at the start of the list, since all the data after the index of modification needs to be moved up or down 1 place.
+In python we can add and remove from a list, this is slower when the list length is modified, especially at the start of the list, since all the data after the index of modification needs to be moved up or down 1 place.
The most simple way to add onto the end of the list is to use ``my_list.append(list_item)`` or ``my_list.extend(some_list)`` and the fastest way to remove an item is ``my_list.pop()`` or ``del my_list[-1]``.
@@ -154,13 +154,13 @@
Sometimes its faster (but more memory hungry) to just rebuild the list.
-Say you want to remove all triangle faces in a list.
+Say you want to remove all triangular faces in a list.
Rather than...
.. code-block:: python
- faces = mesh.faces[:] # make a list copy of the meshes faces
+ faces = mesh.tessfaces[:] # make a list copy of the meshes faces
f_idx = len(faces) # Loop backwards
while f_idx: # while the value is not 0
f_idx -= 1
@@ -173,13 +173,13 @@
.. code-block:: python
- faces = [f for f in mesh.faces if len(f.vertices) != 3]
+ faces = [f for f in mesh.tessfaces if len(f.vertices) != 3]
Adding List Items
^^^^^^^^^^^^^^^^^
-If you have a list that you want to add onto another list, rather then...
+If you have a list that you want to add onto another list, rather than...
.. code-block:: python
@@ -205,6 +205,14 @@
reverse_list.insert(0, list_item)
+Python provides more convenient ways to reverse a list using the slice method, but you may want to time this before relying on it too much:
+
+
+.. code-block:: python
+
+ some_reversed_list = some_list[::-1]
+
+
Removing List Items
^^^^^^^^^^^^^^^^^^^
@@ -224,7 +232,7 @@
my_list.pop(list_index)
-This example shows a fast way of removing items, for use in cases were where you can alter the list order without breaking the scripts functionality. This works by swapping 2 list items, so the item you remove is always last.
+This example shows a fast way of removing items, for use in cases where you can alter the list order without breaking the scripts functionality. This works by swapping 2 list items, so the item you remove is always last.
.. code-block:: python
@@ -243,9 +251,9 @@
Avoid Copying Lists
^^^^^^^^^^^^^^^^^^^
-When passing a list/dictionary to a function, it is faster to have the function modify the list rather then returning a new list so python doesn't have to duplicate the list in memory.
+When passing a list/dictionary to a function, it is faster to have the function modify the list rather than returning a new list so python doesn't have to duplicate the list in memory.
-Functions that modify a list in-place are more efficient then functions that create new lists.
+Functions that modify a list in-place are more efficient than functions that create new lists.
This is generally slower so only use for functions when it makes sense not to modify the list in place.
@@ -273,22 +281,22 @@
This really applies to any area of your code that involves a lot of string joining.
-Pythons string addition, *don't use if you can help it, especially when writing data in a loop.*
+Python’s string addition, *don't use if you can help it, especially when writing data in a loop.*
>>> file.write(str1 + " " + str2 + " " + str3 + "\n")
-String formatting. Use this when you're writing string data from floats and int's
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list