mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-27 19:10:52 +00:00
Instantiate the Wold Editor window after the LIGO setup.
This commit is contained in:
parent
10c340e29a
commit
17dcb2acf9
1 changed files with 2 additions and 3 deletions
|
@ -86,8 +86,6 @@ WorldEditorContext::WorldEditorContext(QObject *parent)
|
||||||
: IContext(parent),
|
: IContext(parent),
|
||||||
m_worldEditorWindow(0)
|
m_worldEditorWindow(0)
|
||||||
{
|
{
|
||||||
m_worldEditorWindow = new WorldEditorWindow();
|
|
||||||
|
|
||||||
QSettings *settings = Core::ICore::instance()->settings();
|
QSettings *settings = Core::ICore::instance()->settings();
|
||||||
settings->beginGroup(Constants::WORLD_EDITOR_SECTION);
|
settings->beginGroup(Constants::WORLD_EDITOR_SECTION);
|
||||||
m_ligoConfig.CellSize = settings->value(Constants::WORLD_EDITOR_CELL_SIZE, "160").toFloat();
|
m_ligoConfig.CellSize = settings->value(Constants::WORLD_EDITOR_CELL_SIZE, "160").toFloat();
|
||||||
|
@ -115,6 +113,7 @@ WorldEditorContext::WorldEditorContext(QObject *parent)
|
||||||
// TODO: get file names! from settings
|
// TODO: get file names! from settings
|
||||||
m_ligoConfig.readPrimitiveClass("world_editor_primitive_configuration.xml", true);
|
m_ligoConfig.readPrimitiveClass("world_editor_primitive_configuration.xml", true);
|
||||||
|
|
||||||
|
m_worldEditorWindow = new WorldEditorWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
QUndoStack *WorldEditorContext::undoStack()
|
QUndoStack *WorldEditorContext::undoStack()
|
||||||
|
|
Loading…
Reference in a new issue