Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

Fix for Studio Palette Path (#1253)

Jeremy Bullockeb8f401c1e65
diff --git a/doc/how_to_build_linux.md b/doc/how_to_build_linux.md
index f42618579..58596ecfe 100644
--- a/doc/how_to_build_linux.md
+++ b/doc/how_to_build_linux.md
@@ -98,7 +98,7 @@ TOONZLIBRARY="$HOME/.config/OpenToonz/stuff/projects/library"
TOONZPROFILES="$HOME/.config/OpenToonz/stuff/profiles"
TOONZPROJECTS="$HOME/.config/OpenToonz/stuff/projects"
TOONZROOT="$HOME/.config/OpenToonz/stuff"
-TOONZSTUDIOPALETTE="$HOME/.config/OpenToonz/stuff/projects/studiopalette"
+TOONZSTUDIOPALETTE="$HOME/.config/OpenToonz/stuff/studiopalette"
EOF
```
Note the generated file must not actually contain `$HOME`, this expands to an absolute path in the generated file.
diff --git a/toonz/install/SystemVar.ini b/toonz/install/SystemVar.ini
index a84317479..c644e4fe5 100644
--- a/toonz/install/SystemVar.ini
+++ b/toonz/install/SystemVar.ini
@@ -8,4 +8,4 @@ OpenToonzPROFILES="/Applications/OpenToonz/OpenToonz_1.1_stuff/profiles"
TOONZPROJECTS="/Applications/OpenToonz/OpenToonz_1.1_stuff/projects"
TOONZROOT="/Applications/OpenToonz/OpenToonz_1.1_stuff"
OPENTOONZROOT="/Applications/OpenToonz/OpenToonz_1.1_stuff"
-TOONZSTUDIOPALETTE="/Applications/OpenToonz/OpenToonz_1.1_stuff/projects/studiopalette"
+TOONZSTUDIOPALETTE="/Applications/OpenToonz/OpenToonz_1.1_stuff/studiopalette"
diff --git a/toonz/sources/toonz/CMakeLists.txt b/toonz/sources/toonz/CMakeLists.txt
index 067d52e8a..8829c07ba 100644
--- a/toonz/sources/toonz/CMakeLists.txt
+++ b/toonz/sources/toonz/CMakeLists.txt
@@ -563,7 +563,7 @@ TOONZLIBRARY=\"\$HOME/.config/OpenToonz/stuff/library\"
TOONZPROFILES=\"\$HOME/.config/OpenToonz/stuff/profiles\"
TOONZPROJECTS=\"$HOME/.config/OpenToonz/stuff/projects\"
TOONZROOT=\"\$HOME/.config/OpenToonz/stuff\"
-TOONZSTUDIOPALETTE=\"\$HOME/.config/OpenToonz/stuff/projects/studiopalette\"
+TOONZSTUDIOPALETTE=\"\$HOME/.config/OpenToonz/stuff/studiopalette\"
EOF
fi