Blender Git Loki

Git Commits -> Revision 0f49e48

Revision 0f49e48 by Bastien Montagne (master)
August 19, 2021, 13:09 (GMT)
Cleanup: Blendwrite: Move code deciding if an ID should be written out of ID callbacks.

This was not really useful, and added estra useless steps in case and ID
should not actually be written.

Further more, it prevented clearing the usercount on write, which can be
cause a false positive 'chanhged' detection in undo/redo case.

Commit Details:

Full Hash: 0f49e4832cf2afad437aa16ebbbe37191de9af71
Parent Commit: d5776f4
Lines Changed: +687, -722

35 Modified Paths:

/source/blender/blenkernel/intern/action.c (+10, -11) (Diff)
/source/blender/blenkernel/intern/armature.c (+15, -16) (Diff)
/source/blender/blenkernel/intern/brush.c (+36, -37) (Diff)
/source/blender/blenkernel/intern/cachefile.c (+10, -11) (Diff)
/source/blender/blenkernel/intern/camera.c (+9, -10) (Diff)
/source/blender/blenkernel/intern/collection.c (+11, -12) (Diff)
/source/blender/blenkernel/intern/curve.c (+34, -35) (Diff)
/source/blender/blenkernel/intern/font.c (+13, -14) (Diff)
/source/blender/blenkernel/intern/gpencil.c (+35, -36) (Diff)
/source/blender/blenkernel/intern/hair.c (+24, -25) (Diff)
/source/blender/blenkernel/intern/image.c (+28, -29) (Diff)
/source/blender/blenkernel/intern/key.c (+20, -21) (Diff)
/source/blender/blenkernel/intern/lattice.c (+16, -17) (Diff)
/source/blender/blenkernel/intern/light.c (+15, -16) (Diff)
/source/blender/blenkernel/intern/lightprobe.c (+7, -8) (Diff)
/source/blender/blenkernel/intern/linestyle.c (+17, -18) (Diff)
/source/blender/blenkernel/intern/mask.c (+28, -29) (Diff)
/source/blender/blenkernel/intern/material.c (+19, -20) (Diff)
/source/blender/blenkernel/intern/mball.c (+20, -21) (Diff)
/source/blender/blenkernel/intern/mesh.c (+69, -74) (Diff)
/source/blender/blenkernel/intern/movieclip.c (+22, -23) (Diff)
/source/blender/blenkernel/intern/node.cc (+10, -11) (Diff)
/source/blender/blenkernel/intern/object.c (+53, -55) (Diff)
/source/blender/blenkernel/intern/paint.c (+10, -12) (Diff)
/source/blender/blenkernel/intern/particle.c (+42, -43) (Diff)
/source/blender/blenkernel/intern/pointcloud.cc (+20, -21) (Diff)
/source/blender/blenkernel/intern/screen.c (+8, -10) (Diff)
/source/blender/blenkernel/intern/simulation.cc (+12, -13) (Diff)
/source/blender/blenkernel/intern/sound.c (+14, -15) (Diff)
/source/blender/blenkernel/intern/speaker.c (+7, -8) (Diff)
/source/blender/blenkernel/intern/text.c (+0, -3) (Diff)
/source/blender/blenkernel/intern/texture.c (+16, -17) (Diff)
/source/blender/blenkernel/intern/volume.cc (+15, -16) (Diff)
/source/blender/blenkernel/intern/world.c (+14, -15) (Diff)
/source/blender/blenloader/intern/writefile.c (+8, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021