Make caching on disk a decorator, and update implementations for Tex and Text mobjects

This commit is contained in:
Grant Sanderson
2024-12-05 10:09:15 -06:00
parent 89ddfadf6b
commit 43821ab2ba
6 changed files with 104 additions and 74 deletions

View File

@ -11,7 +11,9 @@ CUSTOMIZATION = {}
def get_customization():
if not CUSTOMIZATION:
print(CUSTOMIZATION)
CUSTOMIZATION.update(get_custom_config())
print(CUSTOMIZATION)
directories = CUSTOMIZATION["directories"]
# Unless user has specified otherwise, use the system default temp
# directory for storing tex files, mobject_data, etc.