Minor fix

This commit is contained in:
Dion Moult
2023-04-01 22:17:35 +11:00
parent 5f7b6a5498
commit 061922aea2
@@ -190,6 +190,7 @@ class AuthoringData:
@classmethod @classmethod
def active_representation_type(cls): def active_representation_type(cls):
if bpy.context.active_object:
representation = tool.Geometry.get_active_representation(bpy.context.active_object) representation = tool.Geometry.get_active_representation(bpy.context.active_object)
if representation: if representation:
return representation.RepresentationType return representation.RepresentationType