mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Make sure init_customization matches default_config.yml
This commit is contained in:
parent
dd5d239971
commit
fb3cf308df
1 changed files with 9 additions and 20 deletions
|
@ -57,25 +57,14 @@ def init_customization() -> None:
|
||||||
"window_monitor": 0,
|
"window_monitor": 0,
|
||||||
"full_screen": False,
|
"full_screen": False,
|
||||||
"break_into_partial_movies": False,
|
"break_into_partial_movies": False,
|
||||||
"camera_qualities": {
|
"camera_resolutions": {
|
||||||
"low": {
|
"low": "854x480",
|
||||||
"resolution": "854x480",
|
"medium": "1280x720",
|
||||||
"frame_rate": 15,
|
"high": "1920x1080",
|
||||||
},
|
"4k": "3840x2160",
|
||||||
"medium": {
|
"default_resolution": "high",
|
||||||
"resolution": "1280x720",
|
},
|
||||||
"frame_rate": 30,
|
"frame_rate": 30,
|
||||||
},
|
|
||||||
"high": {
|
|
||||||
"resolution": "1920x1080",
|
|
||||||
"frame_rate": 60,
|
|
||||||
},
|
|
||||||
"ultra_high": {
|
|
||||||
"resolution": "3840x2160",
|
|
||||||
"frame_rate": 60,
|
|
||||||
},
|
|
||||||
"default_quality": "",
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
console = Console()
|
console = Console()
|
||||||
|
@ -83,7 +72,7 @@ def init_customization() -> None:
|
||||||
# print("Initialize configuration")
|
# print("Initialize configuration")
|
||||||
try:
|
try:
|
||||||
scope = Prompt.ask(
|
scope = Prompt.ask(
|
||||||
" Select the scope of the configuration",
|
" Select the scope of the configuration",
|
||||||
choices=["global", "local"],
|
choices=["global", "local"],
|
||||||
default="local"
|
default="local"
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue