diff options
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r-- | src/MainWindow.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h index 8745b8b..378705e 100644 --- a/src/MainWindow.h +++ b/src/MainWindow.h @@ -4,7 +4,7 @@ #include <QMainWindow> #include "ui_MainWindow.h" #include "openscad.h" -#include "context.h" +#include "modcontext.h" #include "module.h" #include "Tree.h" #include "memory.h" @@ -29,8 +29,8 @@ public: QTimer *autoReloadTimer; std::string autoReloadId; - Context root_ctx; - Module *root_module; // Result of parsing + ModuleContext top_ctx; + FileModule *root_module; // Result of parsing ModuleInstantiation root_inst; // Top level instance AbstractNode *absolute_root_node; // Result of tree evaluation AbstractNode *root_node; // Root if the root modifier (!) is used |