Re: [Bf-committers] Failing addons/module load tests

2017-08-31 Thread Campbell Barton
Here's a proposal on how this can be handled: https://developer.blender.org/T52599 ___ Bf-committers mailing list Bf-committers@blender.org https://lists.blender.org/mailman/listinfo/bf-committers

Re: [Bf-committers] Failing addons/module load tests

2017-08-28 Thread Campbell Barton
WRT bigger picture we could keep bpy.types for built-in types, not add dynamically registered classes at all. For the rare cases a script needs to access all registered classes, it can still be done via Python's `__subclasses__`. On Mon, Aug 28, 2017 at 6:23 PM, Campbell Barton

Re: [Bf-committers] Failing addons/module load tests

2017-08-28 Thread Campbell Barton
New code in master checks for naming collisions. Without this check bpy.types.* isn't a reliable way to access registered classes. Previously duplicates were silently ignored, it mostly worked out OK since classes registered later never shadowed existing ones (so you couldn't cause access to

[Bf-committers] Failing addons/module load tests

2017-08-28 Thread Sergey Sharybin
Hi, Here is situation: in current master script_load_addons and script_load_modules tests are failing. Report says it's due to attempt to register class twice. For example, in archimesh, ObjectProperties is registered from door, venetian and window maker. This seems to be simple to solve: just