mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 22:33:33 +00:00
Fix #2575. We are incompatible with add-ons using dictionary overrides for delete/duplicate macros.
This commit is contained in:
@@ -521,7 +521,7 @@ class CreateDrawing(bpy.types.Operator):
|
|||||||
# https://stackoverflow.com/questions/36018627/sorting-child-elements-with-lxml-based-on-attribute-value
|
# 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 = root.find("{http://www.w3.org/2000/svg}g")
|
||||||
# group[:] = sorted(group, key=lambda e : "projection" in e.get("class"))
|
# group[:] = sorted(group, key=lambda e : "projection" in e.get("class"))
|
||||||
if group and len(group):
|
if group is not None:
|
||||||
group[:] = reversed(group)
|
group[:] = reversed(group)
|
||||||
|
|
||||||
def canonicalise_class_name(self, name):
|
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
|
Other system specifications match the `Blender Requirements
|
||||||
<https://www.blender.org/download/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.
|
||||||
|
|||||||
Reference in New Issue
Block a user