camera: fix bug introduced by #2246 where settings would be the default primitives upon startup (#2247)
This commit is contained in:
@@ -113,6 +113,7 @@ public class CameraPlugin extends Plugin implements KeyListener, MouseListener
|
|||||||
@Override
|
@Override
|
||||||
protected void startUp()
|
protected void startUp()
|
||||||
{
|
{
|
||||||
|
updateConfig();
|
||||||
rightClick = false;
|
rightClick = false;
|
||||||
middleClick = false;
|
middleClick = false;
|
||||||
menuHasEntries = false;
|
menuHasEntries = false;
|
||||||
@@ -450,4 +451,4 @@ public class CameraPlugin extends Plugin implements KeyListener, MouseListener
|
|||||||
this.ctrlZoomValue = config.ctrlZoomValue();
|
this.ctrlZoomValue = config.ctrlZoomValue();
|
||||||
this.zoomIncrement = config.zoomIncrement();
|
this.zoomIncrement = config.zoomIncrement();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user