Fixes #687
This commit is contained in:
parent
8d9914fafd
commit
ea94c0c11a
@ -19,8 +19,9 @@ public class ResettableExtent extends AbstractDelegateExtent implements Serializ
|
||||
}
|
||||
|
||||
public final void init(Vector pos) {
|
||||
if (getExtent() instanceof ResettableExtent) {
|
||||
((ResettableExtent) getExtent()).init(pos);
|
||||
Extent extent = getExtent();
|
||||
if (extent instanceof ResettableExtent && extent != this) {
|
||||
((ResettableExtent) extent).init(pos);
|
||||
}
|
||||
setOrigin(pos);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user