correctly set changes to editsession for line/spline

fixes #696
This commit is contained in:
dordsor21 2020-12-17 15:02:49 +00:00
parent b57c472b86
commit 236e3c3f6f
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -2767,7 +2767,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
newVset = this.getHollowed(newVset);
}
}
return setBlocks(newVset, pattern);
return this.changes += setBlocks(newVset, pattern);
}
/**
@ -2840,7 +2840,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
if (!filled) {
vset = getHollowed(vset);
}
return setBlocks(vset, pattern);
return this.changes += setBlocks(vset, pattern);
}
/**
@ -2892,7 +2892,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
if (!filled) {
newVset = this.getHollowed(newVset);
}
return setBlocks(newVset, pattern);
return this.changes += setBlocks(newVset, pattern);
}
return changes;
}