wip
This commit is contained in:
@@ -1265,7 +1265,7 @@ def generate_texture_image(props, width, height):
|
||||
# ============================================================================
|
||||
|
||||
# Get the main text
|
||||
main_text = props.text if props.text and props.text.strip() else "Hello World"
|
||||
main_text = props.text if props.text is not None else ""
|
||||
|
||||
# Get prepend and append text
|
||||
prepend_text = props.prepend_text.strip() if props.prepend_text else ""
|
||||
@@ -1956,7 +1956,7 @@ class TEXT_TEXTURE_Properties(PropertyGroup):
|
||||
text: StringProperty(
|
||||
name="Text",
|
||||
description="Text to render as texture",
|
||||
default="Hello World",
|
||||
default="",
|
||||
maxlen=1024,
|
||||
update=update_live_preview
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user