-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: destroying a scene checks if the scene still exists before destr…
…oying it Otherwise the destroy would fail and crash the plugin. The error message wasn't great for detecting that so let's just check before destroying. There still might be cases where the scene vanishes between checking and destroying.
- Loading branch information
1 parent
827a3aa
commit f2be6b6
Showing
4 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,14 +33,23 @@ buildPlugin() | |
|
||
# create a directory for the version | ||
version=$(git log -n 1 --pretty=format:%h -- "$dir"/*) | ||
updated=$(TZ=UTC0 git log -n 1 --date="format-local:%F %T" --pretty=format:%ad -- "$dir"/*) | ||
updated=$(TZ=UTC0 git log -n 1 --date="format-local:%F %T" -- "$dir"/*) | ||
|
||
# create the zip file | ||
# copy other files | ||
zipfile=$(realpath "$outdir/$plugin_id.zip") | ||
|
||
pushd "$dir" > /dev/null | ||
zip -r "$zipfile" . > /dev/null | ||
|
||
# Check for .manifestignore file | ||
if [ -f ".manifestignore" ]; then | ||
# Use .manifestignore to exclude files | ||
zip -r "$zipfile" . [email protected] > /dev/null | ||
else | ||
# If .manifestignore doesn't exist, include all files | ||
zip -r "$zipfile" . > /dev/null | ||
fi | ||
|
||
popd > /dev/null | ||
|
||
name=$(grep "^name:" "$f" | head -n 1 | cut -d' ' -f2- | sed -e 's/\r//' -e 's/^"\(.*\)"$/\1/') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fakeInput.py | ||
test_stash_e2e.py | ||
.gitignore | ||
.template-stash\missing-tpdb-config.txt | ||
.template-stash\missing-stashdb-config.txt | ||
.template-stash\local-config.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters