Blender Git Commit Log

Git Commits -> Revision 1b462e5

Revision 1b462e5 by Campbell Barton (master)
August 16, 2017, 02:46 (GMT)
Pass EvaluationContext instead of bContext

2.8x branch added bContext arg in many places,
pass eval-context instead since its not simple to reason about what
what nested functions do when they can access and change almost anything.

Also use const to prevent unexpected modifications.

This fixes crash loading files with shadows,
since off-screen buffers use a NULL context for rendering.

Commit Details:

Full Hash: 1b462e5a51458e36df886838ee272b4bb18ed4da
Parent Commit: b68b26c
Lines Changed: +1291, -1040

185 Modified Paths:

/intern/itasc/FixedObject.hpp (+1, -1) (Diff)
/intern/itasc/MovingFrame.cpp (+1, -1) (Diff)
/intern/itasc/MovingFrame.hpp (+7, -2) (Diff)
/intern/itasc/Scene.cpp (+1, -1) (Diff)
/intern/itasc/Scene.hpp (+1, -1) (Diff)
/intern/itasc/UncontrolledObject.hpp (+1, -1) (Diff)
/intern/itasc/WorldObject.hpp (+1, -1) (Diff)
/source/blender/blenkernel/BKE_anim.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_animsys.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_armature.h (+14, -12) (Diff)
/source/blender/blenkernel/BKE_cloth.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_constraint.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_crazyspace.h (+4, -4) (Diff)
/source/blender/blenkernel/BKE_curve.h (+10, -7) (Diff)
/source/blender/blenkernel/BKE_data_transfer.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+13, -13) (Diff)
/source/blender/blenkernel/BKE_displist.h (+18, -11) (Diff)
/source/blender/blenkernel/BKE_dynamicpaint.h (+2, -2) (Diff)
/source/blender/blenkernel/BKE_editmesh.h (+2, -1) (Diff)
/source/blender/blenkernel/BKE_effect.h (+5, -4) (Diff)
/source/blender/blenkernel/BKE_fluidsim.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_group.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_lattice.h (+7, -5) (Diff)
/source/blender/blenkernel/BKE_layer.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_material.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mball.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mball_tessellate.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_mesh.h (+3, -3) (Diff)
/source/blender/blenkernel/BKE_modifier.h (+10, -10) (Diff)
/source/blender/blenkernel/BKE_multires.h (+6, -6) (Diff)
/source/blender/blenkernel/BKE_object.h (+26, -22) (Diff)
/source/blender/blenkernel/BKE_paint.h (+3, -2) (Diff)
/source/blender/blenkernel/BKE_particle.h (+7, -7) (Diff)
/source/blender/blenkernel/BKE_rigidbody.h (+5, -5) (Diff)
/source/blender/blenkernel/BKE_scene.h (+3, -2) (Diff)
/source/blender/blenkernel/BKE_sequencer.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_smoke.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_softbody.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_world.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+5, -3) (Diff)
/source/blender/blenkernel/intern/armature_update.c (+15, -12) (Diff)
/source/blender/blenkernel/intern/cloth.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/constraint.c (+11, -11) (Diff)
/source/blender/blenkernel/intern/crazyspace.c (+9, -5) (Diff)
/source/blender/blenkernel/intern/curve.c (+6, -5) (Diff)
/source/blender/blenkernel/intern/data_transfer.c (+4, -3) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+22, -17) (Diff)
/source/blender/blenkernel/intern/displist.c (+34, -26) (Diff)
/source/blender/blenkernel/intern/dynamicpaint.c (+16, -9) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/effect.c (+8, -7) (Diff)
/source/blender/blenkernel/intern/fluidsim.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/group.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/lattice.c (+6, -5) (Diff)
/source/blender/blenkernel/intern/layer.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/mball_tessellate.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/modifier.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/multires.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/object.c (+12, -11) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+5, -5) (Diff)
/source/blender/blenkernel/intern/object_update.c (+12, -11) (Diff)
/source/blender/blenkernel/intern/paint.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/particle.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/rigidbody.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/scene.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/smoke.c (+8, -6) (Diff)
/source/blender/blenkernel/intern/softbody.c (+6, -6) (Diff)
/source/blender/blenkernel/intern/world.c (+1, -1) (Diff)
/source/blender/collada/AnimationExporter.cpp (+1, -1) (Diff)
/source/blender/collada/AnimationExporter.h (+2, -2) (Diff)
/source/blender/collada/ArmatureExporter.cpp (+2, -2) (Diff)
/source/blender/collada/ArmatureExporter.h (+2, -2) (Diff)
/source/blender/collada/collada.cpp (+1, -1) (Diff)
/source/blender/collada/collada.h (+1, -1) (Diff)
/source/blender/collada/collada_utils.cpp (+1, -1) (Diff)
/source/blender/collada/collada_utils.h (+1, -1) (Diff)
/source/blender/collada/ControllerExporter.cpp (+1, -1) (Diff)
/source/blender/collada/ControllerExporter.h (+2, -2) (Diff)
/source/blender/collada/DocumentExporter.cpp (+1, -1) (Diff)
/source/blender/collada/DocumentExporter.h (+1, -1) (Diff)
/source/blender/collada/GeometryExporter.cpp (+1, -1) (Diff)
/source/blender/collada/GeometryExporter.h (+2, -2) (Diff)
/source/blender/collada/SceneExporter.cpp (+3, -3) (Diff)
/source/blender/collada/SceneExporter.h (+3, -3) (Diff)
/source/blender/editors/armature/armature_select.c (+13, -7) (Diff)
/source/blender/editors/armature/editarmature_sketch.c (+5, -1) (Diff)
/source/blender/editors/curve/editcurve_paint.c (+4, -1) (Diff)
/source/blender/editors/gpencil/gpencil_edit.c (+6, -1) (Diff)
/source/blender/editors/gpencil/gpencil_paint.c (+43, -38) (Diff)
/source/blender/editors/gpencil/gpencil_utils.c (+6, -1) (Diff)
/source/blender/editors/include/ED_mesh.h (+13, -11) (Diff)
/source/blender/editors/include/ED_particle.h (+5, -4) (Diff)
/source/blender/editors/include/ED_view3d.h (+21, -18) (Diff)
/source/blender/editors/interface/interface_eyedropper.c (+4, -1) (Diff)
/source/blender/editors/manipulator_library/manipulator_library_presets.c (+5, -1) (Diff)
/source/blender/editors/mesh/editface.c (+2, -2) (Diff)
/source/blender/editors/mesh/editmesh_knife.c (+35, -35) (Diff)
/source/blender/editors/mesh/editmesh_loopcut.c (+11, -4) (Diff)
/source/blender/editors/mesh/editmesh_path.c (+10, -6) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+49, -35) (Diff)
/source/blender/editors/mesh/meshtools.c (+7, -5) (Diff)
/source/blender/editors/metaball/mball_edit.c (+3, -1) (Diff)
/source/blender/editors/object/object_transform.c (+5, -1) (Diff)
/source/blender/editors/physics/particle_edit.c (+54, -28) (Diff)
/source/blender/editors/physics/particle_object.c (+35, -17) (Diff)
/source/blender/editors/sculpt_paint/paint_image_proj.c (+4, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+5, -3) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+12, -4) (Diff)
/source/blender/editors/space_view3d/drawarmature.c (+35, -35) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+83, -90) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+32, -33) (Diff)
/source/blender/editors/space_view3d/view3d_draw_legacy.c (+88, -72) (Diff)
/source/blender/editors/space_view3d/view3d_edit.c (+22, -9) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+24, -17) (Diff)
/source/blender/editors/space_view3d/view3d_iterators.c (+8, -20) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+84, -57) (Diff)
/source/blender/editors/space_view3d/view3d_view.c (+4, -4) (Diff)
/source/blender/editors/transform/transform_conversions.c (+3, -1) (Diff)
/source/blender/ikplugin/BIK_api.h (+2, -2) (Diff)
/source/blender/ikplugin/intern/ikplugin_api.c (+2, -2) (Diff)
/source/blender/ikplugin/intern/ikplugin_api.h (+2, -2) (Diff)
/source/blender/ikplugin/intern/iksolver_plugin.c (+3, -3) (Diff)
/source/blender/ikplugin/intern/iksolver_plugin.h (+5, -3) (Diff)
/source/blender/ikplugin/intern/itasc_plugin.cpp (+8, -8) (Diff)
/source/blender/ikplugin/intern/itasc_plugin.h (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_armature.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_array.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_bevel.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_build.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_cast.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_cloth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_collision.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_correctivesmooth.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_curve.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_datatransfer.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_decimate.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_displace.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_dynamicpaint.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_edgesplit.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_explode.c (+5, -4) (Diff)
/source/blender/modifiers/intern/MOD_fluidsim.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_hook.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_laplaciandeform.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_laplaciansmooth.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_lattice.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_mask.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_meshcache.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_meshdeform.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_meshsequencecache.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_mirror.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_normal_edit.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_ocean.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_particleinstance.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_particlesystem.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_remesh.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_screw.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_shapekey.c (+4, -4) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_simpledeform.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_skin.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_smoke.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_smooth.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_softbody.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_solidify.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_subsurf.c (+6, -5) (Diff)
/source/blender/modifiers/intern/MOD_surface.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_surfacedeform.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_triangulate.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_uvproject.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_uvwarp.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_warp.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_wave.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_weightvgedit.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_weightvgmix.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_weightvgproximity.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_wireframe.c (+1, -1) (Diff)
/source/blender/windowmanager/manipulators/intern/wm_manipulator_map.c (+7, -2) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021