Blender Git Commit Log

Git Commits -> Revision 5610ccd

Revision 5610ccd by Bastien Montagne (master)
November 3, 2020, 10:40 (GMT)
Add a callback to `IDTypeInfo` to allow preservation of some data accross memfile undos

This is essentially adding that new callback, and using it only for already
existing Scene's 3DCursor.

Note that the place where this is called has been moved again, after all
have been lib-linked, such that those callbacks may also work on ID pointers.

Maniphest Tasks: T71759

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

Commit Details:

Full Hash: 5610ccdc080497042a24592432ade575e2fab489
Parent Commit: da03eb8
Lines Changed: +129, -9

43 Modified Paths:

/source/blender/blenkernel/BKE_idtype.h (+11, -0) (Diff)
/source/blender/blenkernel/intern/action.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/armature.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/brush.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/camera.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/collection.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/curve.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/font.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/hair.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/ipo.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/key.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/lattice.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/library.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+9, -0) (Diff)
/source/blender/blenkernel/intern/light.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/lightprobe.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/mask.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/material.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/mball.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/mesh.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/object.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/paint.c (+4, -0) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/pointcloud.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+13, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/simulation.cc (+2, -0) (Diff)
/source/blender/blenkernel/intern/sound.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/speaker.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/text.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/texture.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/volume.cc (+2, -0) (Diff)
/source/blender/blenkernel/intern/workspace.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/world.c (+2, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+17, -9) (Diff)
/source/blender/makesdna/DNA_ID.h (+1, -0) (Diff)
/source/blender/windowmanager/intern/wm.c (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021