regenerate if needed in update_callback
This commit is contained in:
parent
7ebe913e49
commit
49699db309
1 changed files with 4 additions and 1 deletions
|
@ -183,7 +183,10 @@ class ABC3D_text_properties(bpy.types.PropertyGroup):
|
|||
butils.set_text_on_curve(self, can_regenerate=True)
|
||||
|
||||
def update_callback(self, context):
|
||||
butils.set_text_on_curve(self)
|
||||
try:
|
||||
butils.set_text_on_curve(self)
|
||||
except (AttributeError, TypeError):
|
||||
butils.set_text_on_curve(self, can_regenerate=True)
|
||||
|
||||
def font_update_callback(self, context):
|
||||
font_name, face_name = self.font.split(" ")
|
||||
|
|
Loading…
Add table
Reference in a new issue