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) {
|
public final void init(Vector pos) {
|
||||||
if (getExtent() instanceof ResettableExtent) {
|
Extent extent = getExtent();
|
||||||
((ResettableExtent) getExtent()).init(pos);
|
if (extent instanceof ResettableExtent && extent != this) {
|
||||||
|
((ResettableExtent) extent).init(pos);
|
||||||
}
|
}
|
||||||
setOrigin(pos);
|
setOrigin(pos);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user