diff options
author | onefang | 2021-09-09 16:42:16 +1000 |
---|---|---|
committer | onefang | 2021-09-09 16:42:16 +1000 |
commit | b107aaf7ec3115e14e2aa3d5a530229c7e800df9 (patch) | |
tree | 9ad2ab78ed2b25219db427b8f61736134ba81868 /src/sledjchisl | |
parent | Make sure default inventory and sim archives are copied. (diff) | |
download | opensim-SC-b107aaf7ec3115e14e2aa3d5a530229c7e800df9.zip opensim-SC-b107aaf7ec3115e14e2aa3d5a530229c7e800df9.tar.gz opensim-SC-b107aaf7ec3115e14e2aa3d5a530229c7e800df9.tar.bz2 opensim-SC-b107aaf7ec3115e14e2aa3d5a530229c7e800df9.tar.xz |
Shini new Sandbox.
Diffstat (limited to 'src/sledjchisl')
-rw-r--r-- | src/sledjchisl/sledjchisl.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c index 219bf29..7aa3ecc 100644 --- a/src/sledjchisl/sledjchisl.c +++ b/src/sledjchisl/sledjchisl.c | |||
@@ -1784,6 +1784,14 @@ simList *getSims() | |||
1784 | // dumpLuaTree(ourSims->byTab, "byTab", 0); | 1784 | // dumpLuaTree(ourSims->byTab, "byTab", 0); |
1785 | // dumpLuaTree(ourSims->unsorted, "unsorted", 0); | 1785 | // dumpLuaTree(ourSims->unsorted, "unsorted", 0); |
1786 | 1786 | ||
1787 | // If there's no sims, create the default Sandbox. | ||
1788 | if (0 == ourSims->num) | ||
1789 | { | ||
1790 | shellMeFail("cp %s/example/etc/Sandbox.shini %s/etc/"); | ||
1791 | simNotFound(NULL, "Sandbox", "unsorted", 0, 0, 0, 0); | ||
1792 | ourSims->doIt = TRUE; | ||
1793 | } | ||
1794 | |||
1787 | // Write the sims.lua_NEW file if needed. | 1795 | // Write the sims.lua_NEW file if needed. |
1788 | if (ourSims->doIt) | 1796 | if (ourSims->doIt) |
1789 | { | 1797 | { |