deployment

This commit is contained in:
2025-09-11 14:07:55 +03:00
parent c1ac5297f2
commit 9c2c879483
54 changed files with 1859 additions and 26 deletions

32
src/utils/constants.py Normal file
View File

@@ -0,0 +1,32 @@
"""
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"