Blender Git Commit Log

Git Commits -> Revision 22d157d

Revision 22d157d by Bastien Montagne (master)
September 9, 2019, 15:42 (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: 22d157d469de3d8712a7922bb40f109bf420fbe8
Parent Commit: e781e95
Lines Changed: +6, -1

1 Modified Path:

/release/scripts/modules/bl_i18n_utils/bl_extract_messages.py (+6, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021