Blender Git Commit Log

Git Commits -> Revision de25b79

Revision de25b79 by Bastien Montagne (master)
February 25, 2021, 10:39 (GMT)
Refactor: IDTypeInfo: Add `owner_get` to get owner of embedded IDs.

This concerns currently only collections (`master_collection` of scenes)
and root node trees. It removes the matching type-specific helpers
(`BKE_collection_master_scene_search` and `BKE_node_tree_find_owner_ID`).

No functional change expected here.

NOTE: Current implementation of `owner_get` is far from optimal, we
could probably do it better, see {T69169}.

NOTE: While it could also have it, shapekeys IDTypeInfo was left out of
this change for now. Mainly because it sould not be used currently, and
we ultimately want to demote shape keys from ID status anyway.

Commit Details:

Full Hash: de25b79ff5c4da7d2d604eaa33b8c520c246679b
Parent Commit: b5d39f9
Lines Changed: +132, -58

44 Modified Paths:

/source/blender/blenkernel/BKE_collection.h (+0, -2) (Diff)
/source/blender/blenkernel/BKE_idtype.h (+7, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+0, -1) (Diff)
/source/blender/blenkernel/intern/action.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/camera.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/collection.c (+21, -13) (Diff)
/source/blender/blenkernel/intern/curve.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/font.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/hair.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/ipo.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/key.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/lattice.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/light.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/lightprobe.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/mask.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/mball.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/mesh.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+30, -23) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/pointcloud.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/simulation.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/sound.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/speaker.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/text.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/texture.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/volume.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/workspace.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/world.c (+1, -0) (Diff)
/source/blender/editors/space_outliner/outliner_collections.c (+21, -7) (Diff)
/source/blender/makesrna/intern/rna_access.c (+15, -12) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021