v0.7.5: fixed an error where blob volume was not being correctly cleared
This commit is contained in:
@@ -119,7 +119,11 @@ public class Blob extends Actor {
|
|||||||
cur = tmp;
|
cur = tmp;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
area.setEmpty();
|
if (!area.isEmpty()) {
|
||||||
|
area.setEmpty();
|
||||||
|
//clear any values remaining in off
|
||||||
|
System.arraycopy(cur, 0, off, 0, cur.length);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user