Blender Git Loki

Git Commits -> Revision f2b1645

Revision f2b1645 by Campbell Barton (master)
March 14, 2011, 23:02 (GMT)
fix/disallow [#26502] segmentationfault on pressing button to browse existing images for UV window

creating RNA within draw functions can free existing RNA, crashing blender when this is already used in the UI.
disallowing this so it raises a python exception.

This was being used to dynamically generate addon categories so for now they are hard coded and we need proper enum-functions for python to do this.

Commit Details:

Full Hash: f2b1645a75096076910b0c0d46c9b4d5e42c4698
SVN Revision: 35547
Parent Commit: eb53b0f
Lines Changed: +46, -4

2 Modified Paths:

/release/scripts/ui/space_userpref.py (+38, -2) (Diff)
/source/blender/python/intern/bpy_rna.c (+8, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021