Blender Git Commit Log

Git Commits -> Revision b7eaee3

Revision b7eaee3 by Willian Padovani Germano (master)
February 16, 2005, 03:32 (GMT)
BPython bug fixes:
-- Ton caught a redraw trying to free a busy slider button in a script. Made sure the redraws don't happen in the scripts win during slider updates, but the realtime slider (automatically updates the 3d view) isn't working yet as it probably shouldn't with the current code. There's a pre 2.25 comment in Draw.c about it being hackish and wrong;
-- Melchior FRANZ reported a bug related to a script dict being freed too early (when two instances of the same script were on: one with a gui and the other with a file selector -- selecting the file triggered the problem);
-- bug #2074 reported by Roland Hess: totally empty string button -- no prepended but->str (e.g. "OB:") neither but->poin (the actual string) -- crashing Blender. Crash happened on editscreen.c: screen_delayed_push_undo calls strncpy() without checking the passed string. Didn't mess with it, better let the coder in charge of undo (Ton, right?) choose a preferred way to deal with it (report error, simply use blank string). Staying on the python side at least for now, I just made but->str = " " (a space) when user doesn't define it, so the crash shouldn't happen anymore.

http://projects.blender.org/tracker/?func=detail&atid=125&aid=2074&group_id=9

Thanks guys for reporting the problems.

Commit Details:

Full Hash: b7eaee3ad2dcd0fd845a9bd957306e4ed5fc0195
SVN Revision: 3838
Parent Commit: 427ff27
Lines Changed: +61, -54

2 Modified Paths:

/source/blender/python/api2_2x/Draw.c (+28, -27) (Diff)
/source/blender/python/api2_2x/Window.c (+33, -27) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021