Blender Git Commit Log

Git Commits -> Revision 3fcf535

Revision 3fcf535 by Bastien Montagne (master)
December 27, 2015, 11:00 (GMT)
Split id->flag in two, persistent flags and runtime tags.

This is purely internal sanitizing/cleanup, no change in behavior is expected at all.

This change was also needed because we were getting short on ID flags, and
future enhancement of 'user_one' ID behavior requires two new ones.

id->flag remains for persistent data (fakeuser only, so far!), this also allows us
100% backward & forward compatibility.

New id->tag is used for most flags. Though written in .blend files, its content
is cleared at read time.

Note that .blend file version was bumped, so that we can clear runtimeflags from
old .blends, important in case we add new persistent flags in future.

Also, behavior of tags (either status ones, or whether they need to be cleared before/after use)
has been added as comments to their declaration.

Reviewers: sergey, campbellbarton

Differential Revision: https://developer.blender.org/D1683

Commit Details:

Full Hash: 3fcf535d2e003ad939fa1f1c7aa4d5da1b38aef7
Parent Commit: ec2ca11c
Lines Changed: +471, -423

55 Modified Paths:

/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/BKE_library.h (+3, -3) (Diff)
/source/blender/blenkernel/intern/anim_sys.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/blender.c (+9, -9) (Diff)
/source/blender/blenkernel/intern/depsgraph.c (+34, -34) (Diff)
/source/blender/blenkernel/intern/group.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/image.c (+3, -3) (Diff)
/source/blender/blenkernel/intern/lamp.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/library.c (+32, -25) (Diff)
/source/blender/blenkernel/intern/mask.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/material.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/object.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -4) (Diff)
/source/blender/blenkernel/intern/sequencer.c (+3, -3) (Diff)
/source/blender/blenloader/intern/readfile.c (+107, -109) (Diff)
/source/blender/blenloader/intern/versioning_270.c (+14, -0) (Diff)
/source/blender/blenloader/intern/versioning_legacy.c (+2, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+2, -2) (Diff)
/source/blender/collada/collada_utils.cpp (+4, -4) (Diff)
/source/blender/collada/SceneExporter.cpp (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/depsgraph_build.cc (+4, -4) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_nodes.cc (+13, -13) (Diff)
/source/blender/depsgraph/intern/depsgraph_build_relations.cc (+18, -18) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+9, -9) (Diff)
/source/blender/editors/animation/anim_filter.c (+3, -3) (Diff)
/source/blender/editors/interface/interface_ops.c (+3, -3) (Diff)
/source/blender/editors/interface/interface_templates.c (+1, -1) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+1, -1) (Diff)
/source/blender/editors/object/object_add.c (+5, -5) (Diff)
/source/blender/editors/object/object_bake.c (+5, -5) (Diff)
/source/blender/editors/object/object_bake_api.c (+4, -4) (Diff)
/source/blender/editors/object/object_data_transfer.c (+4, -4) (Diff)
/source/blender/editors/object/object_relations.c (+20, -20) (Diff)
/source/blender/editors/object/object_transform.c (+11, -11) (Diff)
/source/blender/editors/render/render_internal.c (+4, -4) (Diff)
/source/blender/editors/space_node/node_edit.c (+3, -3) (Diff)
/source/blender/editors/space_outliner/outliner_draw.c (+3, -3) (Diff)
/source/blender/editors/space_outliner/outliner_tools.c (+1, -1) (Diff)
/source/blender/editors/space_outliner/outliner_tree.c (+4, -4) (Diff)
/source/blender/makesdna/DNA_ID.h (+56, -27) (Diff)
/source/blender/makesrna/intern/rna_ID.c (+4, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+2, -2) (Diff)
/source/blender/modifiers/intern/MOD_correctivesmooth.c (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_smoke.c (+8, -8) (Diff)
/source/blender/python/intern/bpy_library.c (+3, -3) (Diff)
/source/blender/render/intern/source/bake.c (+6, -6) (Diff)
/source/blender/render/intern/source/convertblender.c (+3, -3) (Diff)
/source/blender/render/intern/source/multires_bake.c (+5, -5) (Diff)
/source/blender/render/intern/source/pipeline.c (+13, -13) (Diff)
/source/blender/windowmanager/intern/wm_operators.c (+7, -7) (Diff)
/source/gameengine/Converter/KX_BlenderSceneConverter.cpp (+3, -3) (Diff)
/source/gameengine/Ketsji/BL_ActionManager.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_Scene.h (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021