Blender Git Commit Log
Git Commits -> Revision 345c629
Revision 345c629 by Campbell Barton (master) February 8, 2018, 10:14 (GMT) |
Object Mode: move to workspace struct - Read-only access can often use EvaluationContext.object_mode - Write access to go to WorkSpace.object_mode. - Some TODO's remain (marked as "TODO/OBMODE") - Add-ons will need updating (context.active_object.mode -> context.workspace.object_mode) - There will be small/medium issues that still need resolving this does work on a basic level though. See D3037 |
Commit Details:
Full Hash: 345c6298e995ea618c34282ba6d7ab5af032f191
Parent Commit: 14a19fe
Lines Changed: +691, -516
89 Modified Paths:
/intern/cycles/blender/blender_curves.cpp (+2, -1) (Diff)
/release/scripts/modules/bpy_extras/object_utils.py (+10, -5) (Diff)
/release/scripts/modules/keyingsets_utils.py (+6, -3) (Diff)
/release/scripts/startup/bl_operators/freestyle.py (+6, -3) (Diff)
/release/scripts/startup/bl_operators/mesh.py (+2, -1) (Diff)
/release/scripts/startup/bl_operators/object.py (+14, -9) (Diff)
/release/scripts/startup/bl_operators/object_quick_effects.py (+2, -1) (Diff)
/release/scripts/startup/bl_operators/uvcalc_lightmap.py (+2, -2) (Diff)
/release/scripts/startup/bl_operators/uvcalc_smart_project.py (+3, -2) (Diff)
/release/scripts/startup/bl_operators/view3d.py (+13, -7) (Diff)
/release/scripts/startup/bl_ui/properties_constraint.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/properties_data_bone.py (+8, -4) (Diff)
/release/scripts/startup/bl_ui/properties_data_mesh.py (+15, -5) (Diff)
/release/scripts/startup/bl_ui/properties_data_modifier.py (+7, -2) (Diff)
/release/scripts/startup/bl_ui/properties_material.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_image.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/space_info.py (+2, -5) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+14, -7) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+1, -1) (Diff)
/release/scripts/startup/keyingsets_builtins.py (+3, -2) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_multires.h (+20, -13) (Diff)
/source/blender/blenkernel/BKE_object.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+4, -2) (Diff)
/source/blender/blenkernel/BKE_shrinkwrap.h (+5, -2) (Diff)
/source/blender/blenkernel/BKE_workspace.h (+1, -22) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+4, -1) (Diff)
/source/blender/blenkernel/intern/context.c (+5, -3) (Diff)
/source/blender/blenkernel/intern/multires.c (+79, -53) (Diff)
/source/blender/blenkernel/intern/object.c (+8, -4) (Diff)
/source/blender/blenkernel/intern/paint.c (+59, -21) (Diff)
/source/blender/blenkernel/intern/particle.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+7, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+11, -6) (Diff)
/source/blender/blenkernel/intern/workspace.c (+3, -22) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -18) (Diff)
/source/blender/blenloader/intern/versioning_250.c (+0, -7) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+3, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+0, -3) (Diff)
/source/blender/editors/armature/armature_relations.c (+0, -5) (Diff)
/source/blender/editors/armature/pose_edit.c (+8, -4) (Diff)
/source/blender/editors/include/ED_image.h (+5, -1) (Diff)
/source/blender/editors/include/ED_info.h (+4, -1) (Diff)
/source/blender/editors/include/ED_object.h (+11, -6) (Diff)
/source/blender/editors/include/ED_screen.h (+2, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+6, -4) (Diff)
/source/blender/editors/object/object_add.c (+9, -3) (Diff)
/source/blender/editors/object/object_bake.c (+17, -8) (Diff)
/source/blender/editors/object/object_bake_api.c (+1, -1) (Diff)
/source/blender/editors/object/object_edit.c (+38, -46) (Diff)
/source/blender/editors/object/object_modifier.c (+28, -13) (Diff)
/source/blender/editors/object/object_relations.c (+10, -4) (Diff)
/source/blender/editors/object/object_select.c (+26, -3) (Diff)
/source/blender/editors/physics/particle_edit.c (+8, -6) (Diff)
/source/blender/editors/physics/particle_object.c (+5, -3) (Diff)
/source/blender/editors/render/render_update.c (+17, -3) (Diff)
/source/blender/editors/screen/screen_edit.c (+11, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+2, -1) (Diff)
/source/blender/editors/screen/workspace_edit.c (+4, -36) (Diff)
/source/blender/editors/sculpt_paint/paint_hide.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+6, -5) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+11, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+8, -6) (Diff)
/source/blender/editors/space_image/image_edit.c (+5, -4) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -1) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/editors/space_info/info_stats.c (+4, -5) (Diff)
/source/blender/editors/space_time/space_time.c (+2, -1) (Diff)
/source/blender/editors/util/ed_util.c (+10, -24) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -3) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+9, -3) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+21, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -8) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+4, -3) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+11, -24) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+4, -0) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+4, -2) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+12, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -1) (Diff)
/release/scripts/modules/bpy_extras/object_utils.py (+10, -5) (Diff)
/release/scripts/modules/keyingsets_utils.py (+6, -3) (Diff)
/release/scripts/startup/bl_operators/freestyle.py (+6, -3) (Diff)
/release/scripts/startup/bl_operators/mesh.py (+2, -1) (Diff)
/release/scripts/startup/bl_operators/object.py (+14, -9) (Diff)
/release/scripts/startup/bl_operators/object_quick_effects.py (+2, -1) (Diff)
/release/scripts/startup/bl_operators/uvcalc_lightmap.py (+2, -2) (Diff)
/release/scripts/startup/bl_operators/uvcalc_smart_project.py (+3, -2) (Diff)
/release/scripts/startup/bl_operators/view3d.py (+13, -7) (Diff)
/release/scripts/startup/bl_ui/properties_constraint.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/properties_data_bone.py (+8, -4) (Diff)
/release/scripts/startup/bl_ui/properties_data_mesh.py (+15, -5) (Diff)
/release/scripts/startup/bl_ui/properties_data_modifier.py (+7, -2) (Diff)
/release/scripts/startup/bl_ui/properties_material.py (+2, -2) (Diff)
/release/scripts/startup/bl_ui/space_image.py (+2, -1) (Diff)
/release/scripts/startup/bl_ui/space_info.py (+2, -5) (Diff)
/release/scripts/startup/bl_ui/space_view3d.py (+14, -7) (Diff)
/release/scripts/startup/bl_ui/space_view3d_toolbar.py (+1, -1) (Diff)
/release/scripts/startup/keyingsets_builtins.py (+3, -2) (Diff)
/source/blender/blenkernel/BKE_DerivedMesh.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_multires.h (+20, -13) (Diff)
/source/blender/blenkernel/BKE_object.h (+3, -1) (Diff)
/source/blender/blenkernel/BKE_paint.h (+4, -2) (Diff)
/source/blender/blenkernel/BKE_shrinkwrap.h (+5, -2) (Diff)
/source/blender/blenkernel/BKE_workspace.h (+1, -22) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+4, -1) (Diff)
/source/blender/blenkernel/intern/context.c (+5, -3) (Diff)
/source/blender/blenkernel/intern/multires.c (+79, -53) (Diff)
/source/blender/blenkernel/intern/object.c (+8, -4) (Diff)
/source/blender/blenkernel/intern/paint.c (+59, -21) (Diff)
/source/blender/blenkernel/intern/particle.c (+0, -2) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/shrinkwrap.c (+7, -3) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+11, -6) (Diff)
/source/blender/blenkernel/intern/workspace.c (+3, -22) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -18) (Diff)
/source/blender/blenloader/intern/versioning_250.c (+0, -7) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+3, -2) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+0, -3) (Diff)
/source/blender/editors/armature/armature_relations.c (+0, -5) (Diff)
/source/blender/editors/armature/pose_edit.c (+8, -4) (Diff)
/source/blender/editors/include/ED_image.h (+5, -1) (Diff)
/source/blender/editors/include/ED_info.h (+4, -1) (Diff)
/source/blender/editors/include/ED_object.h (+11, -6) (Diff)
/source/blender/editors/include/ED_screen.h (+2, -1) (Diff)
/source/blender/editors/interface/interface_handlers.c (+6, -4) (Diff)
/source/blender/editors/object/object_add.c (+9, -3) (Diff)
/source/blender/editors/object/object_bake.c (+17, -8) (Diff)
/source/blender/editors/object/object_bake_api.c (+1, -1) (Diff)
/source/blender/editors/object/object_edit.c (+38, -46) (Diff)
/source/blender/editors/object/object_modifier.c (+28, -13) (Diff)
/source/blender/editors/object/object_relations.c (+10, -4) (Diff)
/source/blender/editors/object/object_select.c (+26, -3) (Diff)
/source/blender/editors/physics/particle_edit.c (+8, -6) (Diff)
/source/blender/editors/physics/particle_object.c (+5, -3) (Diff)
/source/blender/editors/render/render_update.c (+17, -3) (Diff)
/source/blender/editors/screen/screen_edit.c (+11, -1) (Diff)
/source/blender/editors/screen/screen_ops.c (+2, -1) (Diff)
/source/blender/editors/screen/workspace_edit.c (+4, -36) (Diff)
/source/blender/editors/sculpt_paint/paint_hide.c (+1, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_image.c (+6, -5) (Diff)
/source/blender/editors/sculpt_paint/paint_utils.c (+2, -1) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+11, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+8, -6) (Diff)
/source/blender/editors/space_image/image_edit.c (+5, -4) (Diff)
/source/blender/editors/space_image/image_ops.c (+2, -1) (Diff)
/source/blender/editors/space_image/space_image.c (+1, -1) (Diff)
/source/blender/editors/space_info/info_stats.c (+4, -5) (Diff)
/source/blender/editors/space_time/space_time.c (+2, -1) (Diff)
/source/blender/editors/util/ed_util.c (+10, -24) (Diff)
/source/blender/makesdna/DNA_object_types.h (+0, -3) (Diff)
/source/blender/makesdna/dna_workspace_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_brush.c (+9, -3) (Diff)
/source/blender/makesrna/intern/rna_layer.c (+21, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+5, -8) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+3, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+4, -3) (Diff)
/source/blender/makesrna/intern/rna_texture.c (+3, -1) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+4, -1) (Diff)
/source/blender/makesrna/intern/rna_wm.c (+11, -24) (Diff)
/source/blender/makesrna/intern/rna_workspace.c (+4, -0) (Diff)
/source/blender/modifiers/intern/MOD_multires.c (+4, -2) (Diff)
/source/blender/modifiers/intern/MOD_shrinkwrap.c (+4, -4) (Diff)
/source/blender/windowmanager/intern/wm_event_system.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_window.c (+12, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+3, -0) (Diff)
/source/blenderplayer/bad_level_call_stubs/stubs.c (+1, -1) (Diff)