Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
現在のシーンを開き直す
// 現在のシーンを開き直す
proc ReOpener(){
$filePath = `file -q -sceneName`;
$result = `confirmDialog -title "確認" -message "開き直す?"
-button "あい" -button "いいえ" -defaultButton "あい"
-cancelButton "いいえ" -dismissString "いいえ"`;
if ($result == "あい") {
file -f -ignoreVersion -o $filePath;
}
}
ReOpener();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.