[Bf-blender-cvs] CVS commit: blender/source/blender/blenloader/intern readblenentry.c readfile.c readfile.h blender/source/blender/src drawmesh.c
Ton Roosendaal
ton at blender.org
Fri Nov 10 11:17:04 CET 2006
ton (Ton Roosendaal) 2006/11/10 11:17:04 CET
Modified files:
blender/source/blender/blenloader/intern readblenentry.c
readfile.c readfile.h
blender/source/blender/src drawmesh.c
Log:
Old feature request: undo system now restores images without reloading.
Was surprisingly easy to add, compiant with file reading and undo code.
Currently only the Image->ibuf gets restored, and its opengl binding, so
for realtime texture it works nicely. Also texture images are not freed
inbetween undo steps
Notes:
- Painting textures will just keep the painted image, there's no undo
yet for that
- If this works satisfying, I'll extend it to compositing previews
TEST IT WELL PLEASE! :)
Revision Changes Path
1.14 +10 -1 blender/source/blender/blenloader/intern/readblenentry.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/readblenentry.c.diff?r1=1.13&r2=1.14&cvsroot=bf-blender>
1.307 +56 -6 blender/source/blender/blenloader/intern/readfile.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/readfile.c.diff?r1=1.306&r2=1.307&cvsroot=bf-blender>
1.10 +5 -2 blender/source/blender/blenloader/intern/readfile.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/readfile.h.diff?r1=1.9&r2=1.10&cvsroot=bf-blender>
1.52 +2 -2 blender/source/blender/src/drawmesh.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawmesh.c.diff?r1=1.51&r2=1.52&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list