fixed arrays in nodeparamview

This commit is contained in:
itsmattkc
2021-01-22 12:20:25 +11:00
parent ce8704f7d3
commit 8a5df32281
12 changed files with 342 additions and 120 deletions
-11
View File
@@ -29,7 +29,6 @@ namespace olive {
NodeViewScene::NodeViewScene(QObject *parent) :
QGraphicsScene(parent),
graph_(nullptr),
direction_(NodeViewCommon::kLeftToRight),
curved_edges_(true)
{
@@ -110,11 +109,6 @@ NodeViewEdge *NodeViewScene::EdgeToUIObject(Node* output, NodeInput* input, int
return nullptr;
}
void NodeViewScene::SetGraph(NodeGraph *graph)
{
graph_ = graph;
}
QVector<Node *> NodeViewScene::GetSelectedNodes() const
{
QHash<Node*, NodeViewItem*>::const_iterator iterator;
@@ -266,11 +260,6 @@ void NodeViewScene::ReorganizeFrom(Node* n)
}
}
bool NodeViewScene::GetEdgesAreCurved() const
{
return curved_edges_;
}
void NodeViewScene::SetEdgesAreCurved(bool curved)
{
if (curved_edges_ != curved) {