This commit is contained in:
2025-10-13 16:56:38 +02:00
parent bf636cbc66
commit 57b55b10a2
21 changed files with 624 additions and 202 deletions

View File

@@ -68,7 +68,7 @@ def create_template_variables(config: Dict, version: str, version_type: str = "f
# Define features based on version type
if version_type == "free":
enabled_features = ["basic", "preview", "image_overlays", "basic_utilities"]
enabled_features = ["basic", "preview"]
else: # full version
enabled_features = ["basic", "preview", "image_overlays", "basic_utilities", "advanced_styling", "normal_maps", "presets", "batch_processing", "advanced_utilities", "text_fitting"]
@@ -105,7 +105,6 @@ def create_template_variables(config: Dict, version: str, version_type: str = "f
'BLENDER_VERSION_PATCH': str(blender_patch),
'DEPENDENCIES': dependencies_str,
'ENABLED_FEATURES': json.dumps(enabled_features),
'MAX_TEXTURE_SIZE': str(version_config['max_texture_size']),
'MAX_CONCURRENT_OPERATIONS': str(version_config['max_concurrent_operations'])
}
@@ -204,4 +203,4 @@ if __name__ == "__main__":
sync_version(args.version, args.type)
except Exception as e:
print(f"Error: {e}")
sys.exit(1)
sys.exit(1)