Blender Git Commit Log
Git Commits -> Revision 20220d4
Revision 20220d4 by Brecht Van Lommel (master) February 21, 2013, 19:33 (GMT) |
Dependency Graph: some refactoring which should have no user visible impact besides performance in some cases. * DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in most cases. This will clear the dependency graph, and only rebuild it right before it's needed again when the scene is re-evaluated. This is done because DAG_scene_sort is slow when called many times from python operators. Further the scene argument is not needed because most operations can potentially affect more than the current scene. * DAG_scene_relations_update will now rebuild the dependency graph if it's not there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare cases that need it. * Remove various places where ob->recalc was set manually. This should go through DAG_id_tag_update() in nearly all cases instead since this is now a fast operation. Also removed DAG_ids_flush_update that goes along with such manual tagging of ob->recalc. |
Commit Details:
Full Hash: 20220d47e38c4ad22ad89481fd40b804cc2fd1ef
SVN Revision: 54727
Parent Commit: 0745653
Lines Changed: +234, -327
53 Modified Paths:
/source/blender/blenkernel/BKE_depsgraph.h (+10, -5) (Diff)
/source/blender/blenkernel/intern/anim.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/blender.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+38, -19) (Diff)
/source/blender/blenkernel/intern/object.c (+19, -16) (Diff)
/source/blender/blenkernel/intern/particle.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/scene.c (+11, -8) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -3) (Diff)
/source/blender/collada/AnimationImporter.cpp (+3, -3) (Diff)
/source/blender/collada/ArmatureExporter.h (+0, -1) (Diff)
/source/blender/collada/collada_utils.cpp (+5, -7) (Diff)
/source/blender/collada/DocumentImporter.cpp (+5, -9) (Diff)
/source/blender/collada/SkinInfo.cpp (+2, -3) (Diff)
/source/blender/editors/animation/drivers.c (+0, -4) (Diff)
/source/blender/editors/animation/keyframing.c (+2, -24) (Diff)
/source/blender/editors/animation/keyingsets.c (+2, -5) (Diff)
/source/blender/editors/armature/editarmature.c (+2, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+3, -3) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+17, -21) (Diff)
/source/blender/editors/object/object_constraint.c (+6, -11) (Diff)
/source/blender/editors/object/object_edit.c (+11, -13) (Diff)
/source/blender/editors/object/object_group.c (+5, -5) (Diff)
/source/blender/editors/object/object_hook.c (+1, -1) (Diff)
/source/blender/editors/object/object_modifier.c (+6, -12) (Diff)
/source/blender/editors/object/object_relations.c (+28, -46) (Diff)
/source/blender/editors/object/object_transform.c (+0, -7) (Diff)
/source/blender/editors/physics/dynamicpaint_ops.c (+1, -1) (Diff)
/source/blender/editors/physics/particle_boids.c (+2, -4) (Diff)
/source/blender/editors/physics/particle_object.c (+3, -6) (Diff)
/source/blender/editors/physics/rigidbody_constraint.c (+2, -4) (Diff)
/source/blender/editors/physics/rigidbody_object.c (+0, -8) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+1, -4) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+4, -10) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+3, -11) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+4, -8) (Diff)
/source/blender/editors/transform/transform_conversions.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -4) (Diff)
/source/blender/makesrna/intern/rna_boid.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_dynamicpaint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_smoke.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/anim.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/blender.c (+1, -2) (Diff)
/source/blender/blenkernel/intern/constraint.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+38, -19) (Diff)
/source/blender/blenkernel/intern/object.c (+19, -16) (Diff)
/source/blender/blenkernel/intern/particle.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/scene.c (+11, -8) (Diff)
/source/blender/blenloader/intern/readfile.c (+3, -3) (Diff)
/source/blender/collada/AnimationImporter.cpp (+3, -3) (Diff)
/source/blender/collada/ArmatureExporter.h (+0, -1) (Diff)
/source/blender/collada/collada_utils.cpp (+5, -7) (Diff)
/source/blender/collada/DocumentImporter.cpp (+5, -9) (Diff)
/source/blender/collada/SkinInfo.cpp (+2, -3) (Diff)
/source/blender/editors/animation/drivers.c (+0, -4) (Diff)
/source/blender/editors/animation/keyframing.c (+2, -24) (Diff)
/source/blender/editors/animation/keyingsets.c (+2, -5) (Diff)
/source/blender/editors/armature/editarmature.c (+2, -2) (Diff)
/source/blender/editors/curve/editcurve.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -2) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+3, -3) (Diff)
/source/blender/editors/mesh/meshtools.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+17, -21) (Diff)
/source/blender/editors/object/object_constraint.c (+6, -11) (Diff)
/source/blender/editors/object/object_edit.c (+11, -13) (Diff)
/source/blender/editors/object/object_group.c (+5, -5) (Diff)
/source/blender/editors/object/object_hook.c (+1, -1) (Diff)
/source/blender/editors/object/object_modifier.c (+6, -12) (Diff)
/source/blender/editors/object/object_relations.c (+28, -46) (Diff)
/source/blender/editors/object/object_transform.c (+0, -7) (Diff)
/source/blender/editors/physics/dynamicpaint_ops.c (+1, -1) (Diff)
/source/blender/editors/physics/particle_boids.c (+2, -4) (Diff)
/source/blender/editors/physics/particle_object.c (+3, -6) (Diff)
/source/blender/editors/physics/rigidbody_constraint.c (+2, -4) (Diff)
/source/blender/editors/physics/rigidbody_object.c (+0, -8) (Diff)
/source/blender/editors/space_graph/graph_buttons.c (+1, -4) (Diff)
/source/blender/editors/space_outliner/outliner_edit.c (+4, -10) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+3, -11) (Diff)
/source/blender/editors/space_view3d/view3d_snap.c (+4, -8) (Diff)
/source/blender/editors/transform/transform_conversions.c (+2, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -4) (Diff)
/source/blender/makesrna/intern/rna_boid.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_dynamicpaint.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_particle.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -5) (Diff)
/source/blender/makesrna/intern/rna_smoke.c (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+1, -2) (Diff)