mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 12:57:57 +00:00
Minor fix #3862
This commit is contained in:
@@ -43,7 +43,7 @@ class Geometry(blenderbim.core.tool.Geometry):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def replace_object_data_globally(cls, old_data, new_data):
|
def replace_object_data_globally(cls, old_data, new_data):
|
||||||
if old_data.is_editmode:
|
if getattr(old_data, "is_editmode", None):
|
||||||
raise Exception("user_remap is not supported for meshes in EDIT mode")
|
raise Exception("user_remap is not supported for meshes in EDIT mode")
|
||||||
old_data.user_remap(new_data)
|
old_data.user_remap(new_data)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user