prepare name refactor

This commit is contained in:
themancalledjakob 2024-08-05 12:59:45 +02:00
parent 7e55f9e9bf
commit 97446d74e2

View file

@ -313,7 +313,7 @@ class FONT3D_PT_TextPlacement(bpy.types.Panel):
layout.column().prop(font3d, "orientation") layout.column().prop(font3d, "orientation")
placerow = layout.row() placerow = layout.row()
placerow.enabled = self.can_place 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: if not self.can_place:
layout.label(text="Cannot place Text.") layout.label(text="Cannot place Text.")
layout.label(text="Select a curve as active object.") layout.label(text="Select a curve as active object.")