From 72642f74bfe615a5122ce8c07a6d2353455ebd4f Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Sun, 8 Sep 2019 12:19:48 +1000 Subject: [PATCH] updated widget bridge behavior for new naming --- app/widget/nodeparamview/nodeparamviewwidgetbridge.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/widget/nodeparamview/nodeparamviewwidgetbridge.cpp b/app/widget/nodeparamview/nodeparamviewwidgetbridge.cpp index 1a3d8cd07..7cd31759b 100644 --- a/app/widget/nodeparamview/nodeparamviewwidgetbridge.cpp +++ b/app/widget/nodeparamview/nodeparamviewwidgetbridge.cpp @@ -44,7 +44,7 @@ void NodeParamViewWidgetBridge::CreateWidgets() } // We assume the first data type is the "primary" type - switch (base_input->inputs().first()) { + switch (base_input->data_type()) { // None of these inputs have applicable UI widgets case NodeParam::kNone: case NodeParam::kAny: @@ -179,7 +179,7 @@ void NodeParamViewWidgetBridge::CreateWidgets() void NodeParamViewWidgetBridge::WidgetCallback() { foreach (NodeInput* input, inputs_) { - switch (input->inputs().first()) { + switch (input->data_type()) { // None of these inputs have applicable UI widgets case NodeParam::kNone: case NodeParam::kAny: