wip
This commit is contained in:
Binary file not shown.
@@ -20,7 +20,7 @@ ENABLED_FEATURES = ["basic", "preview"] if VERSION_TYPE == "free" else [
|
||||
"basic", "preview", "presets", "normal_maps", "batch_processing",
|
||||
"image_overlays", "basic_utilities", "advanced_utilities", "advanced_styling",
|
||||
"stroke_effects", "blur_effects", "shadow_glow_effects", "shader_generation",
|
||||
"text_fitting"
|
||||
"text_fitting", "multiline_text"
|
||||
]
|
||||
|
||||
# Version-specific limits (applied at build time through file exclusions)
|
||||
@@ -114,6 +114,10 @@ def has_text_fitting():
|
||||
"""Check if text fitting is available"""
|
||||
return has_feature("text_fitting")
|
||||
|
||||
def has_multiline_text():
|
||||
"""Check if multiline text feature is available."""
|
||||
return has_feature("multiline_text")
|
||||
|
||||
def get_max_resolution():
|
||||
"""Get maximum texture resolution based on version"""
|
||||
limits = get_version_limits()
|
||||
@@ -134,7 +138,8 @@ def should_show_feature_lock(feature_name):
|
||||
'blur_effects': has_blur_effects,
|
||||
'shadow_glow_effects': has_shadow_glow_effects,
|
||||
'shader_generation': has_shader_generation,
|
||||
'text_fitting': has_text_fitting
|
||||
'text_fitting': has_text_fitting,
|
||||
'multiline_text': has_multiline_text
|
||||
}
|
||||
|
||||
if is_full_version():
|
||||
|
||||
Reference in New Issue
Block a user