temp fix for undo

also fix inspect brush using wrong ids
This commit is contained in:
Jesse Boyd
2019-11-18 07:23:48 +00:00
parent 0087a0d6ab
commit 4c32949210
5 changed files with 7 additions and 4 deletions

View File

@ -473,7 +473,9 @@ public class LocalSession implements TextureHolder {
return;
}
// Don't store anything if no changes were made
if (editSession.size() == 0) return;
if (editSession.size() == 0) {
return;
}
FaweChangeSet changeSet = (FaweChangeSet) editSession.getChangeSet();
if (changeSet.isEmpty()) {