Fix #2986. Reimplement Metadata property of EPset_Drawing to include arbitrary metadata as CSS classes.

This commit is contained in:
Dion Moult
2023-04-14 20:24:02 +10:00
parent 4f7454070c
commit d9726efee0
3 changed files with 19 additions and 10 deletions
@@ -44,6 +44,10 @@ import collections
class Drawing(blenderbim.core.tool.Drawing):
@classmethod
def canonicalise_class_name(self, name):
return re.sub("[^0-9a-zA-Z]+", "", name)
@classmethod
def copy_representation(cls, source, dest):
if source.Representation: