32 lines
945 B
Python
32 lines
945 B
Python
"""
|
|
Constants and metadata for the Text Texture Generator addon.
|
|
"""
|
|
|
|
bl_info = {
|
|
"name": "Text Texture Generator",
|
|
"author": "Marc Mintel <marc@mintel.me>",
|
|
"version": (1, 0, 0),
|
|
"blender": (4, 0, 0),
|
|
"location": "3D View > Sidebar (N) > Tool Tab | Shader Editor > Sidebar > Tool Tab",
|
|
"description": "Generate image textures from text with accurate dimensions and instant live preview",
|
|
"category": "Material",
|
|
}
|
|
|
|
# Version information
|
|
VERSION_TYPE = "full" # "free" or "full"
|
|
|
|
# Version-specific limits (applied at build time through file exclusions)
|
|
def get_version_limits():
|
|
"""Get version-specific limits."""
|
|
return {
|
|
"max_texture_size": 4096,
|
|
"max_concurrent_operations": 4
|
|
}
|
|
|
|
def is_free_version():
|
|
"""Check if this is the free version."""
|
|
return VERSION_TYPE == "free"
|
|
|
|
def is_full_version():
|
|
"""Check if this is the full version."""
|
|
return VERSION_TYPE == "full" |