refactor: move GOP_test to plugin system

This commit is contained in:
parker
2025-07-16 16:37:14 +01:00
parent 1ac5af190b
commit d2dda549eb
8 changed files with 60 additions and 56 deletions

View File

@@ -19,7 +19,6 @@
#include <qgraphicsitem.h>
#include <qnamespace.h>
#include <QLine>
#include "Engine/Operator/GOP_test.h"
#include "Gui/Network/TabMenu.h"
using namespace enzo;
@@ -315,7 +314,7 @@ void Network::keyPressEvent(QKeyEvent *event)
}
case(Qt::Key_G):
{
if(auto newNode = createNode(&GOP_test::ctor))
if(auto newNode = createNode(op::OperatorTable::getOpConstructor(1)))
{
newNode->setPos(viewPos);
}