mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
Temp disable setting paint_active_slot from external materials #4129
This commit is contained in:
@@ -353,6 +353,9 @@ class ActivateExternalStyle(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
allowed_prop_groups = ("grease_pencil", "lineart", "cycles")
|
allowed_prop_groups = ("grease_pencil", "lineart", "cycles")
|
||||||
|
|
||||||
def set_prop(prop_name):
|
def set_prop(prop_name):
|
||||||
|
# temporary workaround for Blender bug https://projects.blender.org/blender/blender/issues/116325
|
||||||
|
if prop_name == "paint_active_slot":
|
||||||
|
return
|
||||||
setattr(target, prop_name, getattr(source, prop_name))
|
setattr(target, prop_name, getattr(source, prop_name))
|
||||||
|
|
||||||
def set_prop_group(prop_group):
|
def set_prop_group(prop_group):
|
||||||
|
|||||||
Reference in New Issue
Block a user