diff --git a/__init__.py b/__init__.py index 311215a..5413090 100644 --- a/__init__.py +++ b/__init__.py @@ -313,7 +313,7 @@ class FONT3D_PT_TextPlacement(bpy.types.Panel): layout.column().prop(font3d, "orientation") placerow = layout.row() placerow.enabled = self.can_place - placerow.operator('font3d.placetext', text='Place Text') + placerow.operator(f"{__name__}.placetext", text='Place Text') if not self.can_place: layout.label(text="Cannot place Text.") layout.label(text="Select a curve as active object.")