From 6ab8cbc68cd1b6c2e8f30e42c57585fa8defaf05 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 30 Oct 2020 12:47:12 +1100 Subject: Text: support "Text to 3D Object" for read-only data Add poll function for read-only text data, for operators that don't require the text to be editable. --- source/blender/editors/include/ED_curve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_curve.h') diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index f9b1d9cdc64..8015a665970 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -84,7 +84,7 @@ void ED_curve_editfont_load(struct Object *obedit); void ED_curve_editfont_make(struct Object *obedit); void ED_curve_editfont_free(struct Object *obedit); -void ED_text_to_object(struct bContext *C, struct Text *text, const bool split_lines); +void ED_text_to_object(struct bContext *C, const struct Text *text, const bool split_lines); void ED_curve_beztcpy(struct EditNurb *editnurb, struct BezTriple *dst, -- cgit v1.2.3