Blender Git Loki

Git Commits -> Revision 79ed118

Revision 79ed118 by Martin Poirier (master)
April 7, 2008, 20:56 (GMT)
Potential fix for [#8113] Blender.Registry segfault when no permission to write

This converts exceptions in Warning in selected points of the registry module.

While I couldn't reproduce the segfault ( I received the Py error as expected), this isn't a bad idea anyway, since the BPy C counterpart was discarding the error anyway, making it a warning is a bit more inline with its meaning.

The exception is not preventable nor fixable from a script's point of view, so better to silence it and print a warning to the console instead.

Commit Details:

Full Hash: 79ed118fd492d13e261fcef7c68bf875761f4a6d
SVN Revision: 14353
Parent Commit: 6dec5db
Lines Changed: +25, -16

1 Modified Path:

/release/scripts/bpymodules/BPyRegistry.py (+25, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021