Blender Git Loki
Git Commits -> Revision 080b7f0
Revision 080b7f0 by Willian Padovani Germano (master) October 3, 2005, 19:12 (GMT) |
BPython bug fixes: - #2781, reported by Ed Blake: crash on undo when there were active space handlers. Space Handler script links belong to screen areas, which do not get saved on undo. Thanks Ton for pointing out the function that restores ui pointers gone bad. - Applied patch #2822 by Ken Hughes for bug #2647 ("Setting a Face UV"), reported by Campbell Barton. - #3022, reported by Timothy Wakeham: "Blender.BGL.glDrawPixels crashes when drawing more pixels then buffer size". Made glDrawPixels check buffer dimensions. - #2882, reported by Campbell: crash in nmesh.getMaterials(arg == 0 or 1) when nmesh came from GetRawFromMesh(). Raw nmeshes are not linked to Blender meshes, so the method doesn't support these options (getting mat info from the actual mesh) for it. - #2817, reported by Tod Koeckeritz: Dir_Depth var was not being decremented in BPY_Menus.c, causing dir depth limits to be reached prematurely. - #2954, reported by Daniel Holtz: "Python scripts crash hard with valid windows paths". Blender.Load() was not meant for background mode, now it's been update to support it, using BKE_read_file instead of BIF_read_file in this case. Also found another issue with command line scripts using Blender.Load() that could crash Blender: trying to free the Text when it wasn't available anymore (loading a new .blend already removed it). There are still issues with one case, though, causing a crash on start or "Memoryblock winopen: double free" at end, when running a script that is already a Blender Text (only if the script calls Blender.Load, of course). Will investigate. - #2897: reported by Timothy Wakeham: object.setMaterials was asking the length of a Python list w/o confirming first if the passed obj was really a list. Thanks all for the help and for being patient (long delay, again). |
Commit Details:
Full Hash: 080b7f09022f2407eab861e239bc32ef23a15a14
SVN Revision: 5429
Parent Commit: fde6300
Lines Changed: +118, -58
9 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+10, -0) (Diff)
/source/blender/python/api2_2x/BGL.c (+27, -5) (Diff)
/source/blender/python/api2_2x/Blender.c (+28, -15) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+3, -3) (Diff)
/source/blender/python/api2_2x/doc/NMesh.py (+1, -1) (Diff)
/source/blender/python/api2_2x/NMesh.c (+9, -5) (Diff)
/source/blender/python/api2_2x/Object.c (+24, -27) (Diff)
/source/blender/python/BPY_interface.c (+15, -2) (Diff)
/source/blender/python/BPY_menus.c (+1, -0) (Diff)
/source/blender/python/api2_2x/BGL.c (+27, -5) (Diff)
/source/blender/python/api2_2x/Blender.c (+28, -15) (Diff)
/source/blender/python/api2_2x/doc/Blender.py (+3, -3) (Diff)
/source/blender/python/api2_2x/doc/NMesh.py (+1, -1) (Diff)
/source/blender/python/api2_2x/NMesh.c (+9, -5) (Diff)
/source/blender/python/api2_2x/Object.c (+24, -27) (Diff)
/source/blender/python/BPY_interface.c (+15, -2) (Diff)
/source/blender/python/BPY_menus.c (+1, -0) (Diff)