Fix #2575. We are incompatible with add-ons using dictionary overrides for delete/duplicate macros.

This commit is contained in:
Dion Moult
2023-02-13 11:22:57 +11:00
parent 4134c709a8
commit 7d979e5a04
2 changed files with 19 additions and 1 deletions
@@ -521,7 +521,7 @@ class CreateDrawing(bpy.types.Operator):
# https://stackoverflow.com/questions/36018627/sorting-child-elements-with-lxml-based-on-attribute-value
group = root.find("{http://www.w3.org/2000/svg}g")
# group[:] = sorted(group, key=lambda e : "projection" in e.get("class"))
if group and len(group):
if group is not None:
group[:] = reversed(group)
def canonicalise_class_name(self, name):
@@ -15,3 +15,21 @@ be no guarantee of the uptime or stability of these builds.
Other system specifications match the `Blender Requirements
<https://www.blender.org/download/requirements/>`_.
Add-on compatibility
--------------------
The BlenderBIM Add-on is a non-trivial add-on. By turning Blender into a
graphical front-end to a native IFC authoring platform, some fundamental Blender
features (such as object deletion and object duplication) have been patched.
Other add-ons may no longer work as intended when the BlenderBIM Add-on is
enabled, or vice versa, the BlenderBIM Add-on may no longer work as intended
when other add-ons are enabled.
Known scenarios which will lead to add-on incompatibility include:
- The add-on overrides object deletion or duplication
- The add-on uses object deletion or duplication macros with dictionary
override. Note that this is also deprecated in Blender, so the other add-on
should be updated to fix this.