Commit 0461341
committed
fix GeometryManager NPE
Initialize geometry manager before registering update observers that involve it,
since the geometry manager's constructor can also trigger them, leading to an
NPE due to the geometryManager field not being set a the time of the call.
See #3. I hope it fixes it :)1 parent eadf928 commit 0461341
1 file changed
Lines changed: 3 additions & 3 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
174 | 177 | | |
175 | 178 | | |
176 | 179 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments