Blender Git Loki

Git Commits -> Revision 4421598

Revision 4421598 by Bastien Montagne (temp-lanpr-staging)
September 12, 2019, 01:13 (GMT)
I18n: dirty workaround for PITA ghost classes remaining after unregister.

Spent again a whole day trying to understand what happens here, with no
luck. For some reasons, OperatorProperties children of unregistered
operator classes remain accessible, with their `bl_rna` member, although
that one is 100% invalid (freed memory, crashes with ASAN builds).

Funny thing is, I cannot reproduce that situation when disabling the
add-on from the py console of a Blender-with-UI.

Note: issue revealed by X3D add-on, which is still enabled in factory
settings, while not being officially supported any more, this has to be
fixed in a separate commit.

Commit Details:

Full Hash: 4421598fcab1fc563ef3d1cffbea157bfbfbeea6
Parent Commit: 71d482b
Committed By: YimingWu
Lines Changed: +6, -1

1 Modified Path:

/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py (+6, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021