Gems/ScriptCanvas
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
-2
@@ -92,8 +92,6 @@ namespace ScriptCanvasDeveloperEditor
|
||||
int m_heightOffset = 0;
|
||||
|
||||
int m_maxRowHeight = 0;
|
||||
|
||||
int creationCounter = 100;
|
||||
};
|
||||
|
||||
void NodePaletteFullCreationAction()
|
||||
|
||||
+1
-1
@@ -155,7 +155,6 @@ namespace ScriptCanvasDeveloper
|
||||
m_startPosition = QCursor::pos();
|
||||
}
|
||||
|
||||
QPointF currentPosition = QCursor::pos();
|
||||
QPointF targetPoint = m_targetPosition;
|
||||
|
||||
float percentage = aznumeric_cast<float>(m_tickCount)/aznumeric_cast<float>(m_tickDuration);
|
||||
@@ -170,6 +169,7 @@ namespace ScriptCanvasDeveloper
|
||||
|
||||
#if defined(AZ_COMPILER_MSVC)
|
||||
INPUT osInput = { 0 };
|
||||
QPointF currentPosition = QCursor::pos();
|
||||
|
||||
osInput.type = INPUT_MOUSE;
|
||||
osInput.mi.mouseData = 0;
|
||||
|
||||
-1
@@ -275,7 +275,6 @@ namespace ScriptCanvasDeveloper
|
||||
}
|
||||
|
||||
QRegion region = m_graphPalette->visibleRegion();
|
||||
QRect boundingRegion = region.boundingRect();
|
||||
m_indexIsVisible = region.contains(m_graphPalette->visualRect(m_displayIndex).center());
|
||||
}
|
||||
|
||||
|
||||
-1
@@ -187,7 +187,6 @@ namespace ScriptCanvasDeveloper
|
||||
|
||||
DeleteVariableRowFromPaletteState::DeleteVariableRowFromPaletteState(int row)
|
||||
: NamedAutomationState("DeleteVariableRowFromPaletteState")
|
||||
, m_row(row)
|
||||
, m_clickAction(Qt::MouseButton::LeftButton)
|
||||
, m_deleteAction(VK_DELETE)
|
||||
{
|
||||
|
||||
@@ -133,7 +133,5 @@ namespace ScriptCanvasDeveloper
|
||||
QLabel* m_errorTestLabel = nullptr;
|
||||
QLabel* m_runLabel = nullptr;
|
||||
QMainWindow* m_scriptCanvasWindow = nullptr;
|
||||
|
||||
QWindow* m_canvasWindow = nullptr;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -669,7 +669,6 @@ namespace ScriptCanvasDeveloper
|
||||
|
||||
VariableLifeCycleTest::VariableLifeCycleTest(AZStd::string name, AZStd::vector<ScriptCanvas::Data::Type> dataTypes, CreateVariableAction::CreationType creationType)
|
||||
: EditorAutomationTest(name.c_str())
|
||||
, m_creationType(creationType)
|
||||
, m_typesToMake(dataTypes)
|
||||
{
|
||||
m_variableTypeId = "ActiveVariableTypeId";
|
||||
|
||||
@@ -256,14 +256,11 @@ namespace ScriptCanvasDeveloper
|
||||
|
||||
int SetupNextVariable();
|
||||
|
||||
CreateVariableAction::CreationType m_creationType = CreateVariableAction::CreationType::AutoComplete;
|
||||
|
||||
ScriptCanvas::VariableId m_activeVariableId;
|
||||
AZStd::vector<CreateVariableAction*> m_createVariables;
|
||||
AZStd::vector<ScriptCanvas::Data::Type> m_typesToMake;
|
||||
|
||||
bool m_createVariablesNodesViaContextMenu = true;
|
||||
bool m_closedGraph = false;
|
||||
int m_activeIndex = 0;
|
||||
|
||||
GraphCanvas::ViewId m_viewId;
|
||||
|
||||
@@ -67,7 +67,6 @@ namespace ScriptCanvasDeveloper
|
||||
|
||||
ScriptCanvasEditor::NodeIdPair nodePair;
|
||||
|
||||
const AZ::Vector2 scenePointVec2 = AZ::Vector2(aznumeric_cast<float>(scenePoint.x()), aznumeric_cast<float>(scenePoint.y()));
|
||||
if (result == addMock)
|
||||
{
|
||||
ScriptCanvasEditor::EditorGraphRequestBus::EventResult(nodePair, scriptCanvasId, &ScriptCanvasEditor::EditorGraphRequests::CreateCustomNode, azrtti_typeid<Mock>(), AZ::Vector2(aznumeric_cast<float>(scenePoint.x()), aznumeric_cast<float>(scenePoint.y())));
|
||||
|
||||
Reference in New Issue
Block a user