mirror of
https://github.com/Kas-tle/java2bedrock.sh.git
synced 2025-12-19 14:59:13 +00:00
remove prlimit debug
This commit is contained in:
@@ -639,7 +639,7 @@ do
|
|||||||
# find the union of all texture files listed in this atlas and all texture files in our resource pack
|
# find the union of all texture files listed in this atlas and all texture files in our resource pack
|
||||||
local texture_list=( $(jq -s --arg index "${1}" -r '(.[1][($index | tonumber)] - .[0] | length > 0) as $fallback_needed | ((.[1][($index | tonumber)] - (.[1][($index | tonumber)] - .[0])) + (if $fallback_needed then ["./assets/minecraft/textures/0.png"] else [] end)) | .[]' scratch_files/all_textures.temp scratch_files/union_atlas.temp) )
|
local texture_list=( $(jq -s --arg index "${1}" -r '(.[1][($index | tonumber)] - .[0] | length > 0) as $fallback_needed | ((.[1][($index | tonumber)] - (.[1][($index | tonumber)] - .[0])) + (if $fallback_needed then ["./assets/minecraft/textures/0.png"] else [] end)) | .[]' scratch_files/all_textures.temp scratch_files/union_atlas.temp) )
|
||||||
status_message process "Generating sprite sheet ${1} of ${total_union_atlas}"
|
status_message process "Generating sprite sheet ${1} of ${total_union_atlas}"
|
||||||
prlimit --stack=6453600 spritesheet-js -f json --name scratch_files/spritesheet/${1} --fullpath ${texture_list[@]} 1> /dev/null
|
spritesheet-js -f json --name scratch_files/spritesheet/${1} --fullpath ${texture_list[@]} 1> /dev/null
|
||||||
echo ${1} >> scratch_files/atlases.csv
|
echo ${1} >> scratch_files/atlases.csv
|
||||||
}
|
}
|
||||||
wait_for_jobs
|
wait_for_jobs
|
||||||
|
|||||||
Reference in New Issue
Block a user