Blender Git Loki
Git Commits -> Revision e076376
Revision e076376 by Bastien Montagne (master) November 24, 2021, 09:35 (GMT) |
Cleanup: `IDTypeInfo` new `asset_type_info` member. Two issues addressed here: I) `asset_type_info` is sub-data, not a callback. Therefore, move it before the callbacks in the `IDTypeInfo` struct. II) More important, initialize this new attribute in *ALL* `IDTypeInfo` instances. No member of this struct should ever be left implicitely uninitilazed, ever. Aftermath of rBa84f1c02d251. |
Commit Details:
Full Hash: e0763760e4307cf5fdd16a9d860573709b2d9a18
Parent Commit: f8dea3f
Lines Changed: +48, -14
41 Modified Paths:
/source/blender/blenkernel/BKE_idtype.h (+5, -9) (Diff)
/source/blender/blenkernel/intern/action.c (+1, -2) (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 (+1, -0) (Diff)
/source/blender/blenkernel/intern/curve.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/lib_id.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.cc (+3, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/object.cc (+1, -2) (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/vfont.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/windowmanager/intern/wm.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+1, -2) (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 (+1, -0) (Diff)
/source/blender/blenkernel/intern/curve.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/lib_id.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.cc (+3, -1) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.cc (+1, -0) (Diff)
/source/blender/blenkernel/intern/object.cc (+1, -2) (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/vfont.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/windowmanager/intern/wm.c (+1, -0) (Diff)