groups: improved serialization
Introduced new project version with extra customization for groups
This commit is contained in:
@@ -92,6 +92,7 @@ void NodeParamViewWidgetBridge::CreateWidgets()
|
||||
case NodeValue::kGenerateJob:
|
||||
case NodeValue::kVideoParams:
|
||||
case NodeValue::kAudioParams:
|
||||
case NodeValue::kDataTypeCount:
|
||||
break;
|
||||
case NodeValue::kInt:
|
||||
{
|
||||
@@ -245,6 +246,7 @@ void NodeParamViewWidgetBridge::WidgetCallback()
|
||||
case NodeValue::kGenerateJob:
|
||||
case NodeValue::kVideoParams:
|
||||
case NodeValue::kAudioParams:
|
||||
case NodeValue::kDataTypeCount:
|
||||
break;
|
||||
case NodeValue::kInt:
|
||||
{
|
||||
@@ -421,6 +423,7 @@ void NodeParamViewWidgetBridge::UpdateWidgetValues()
|
||||
case NodeValue::kGenerateJob:
|
||||
case NodeValue::kVideoParams:
|
||||
case NodeValue::kAudioParams:
|
||||
case NodeValue::kDataTypeCount:
|
||||
break;
|
||||
case NodeValue::kInt:
|
||||
{
|
||||
|
||||
@@ -261,7 +261,7 @@ void NodeView::Duplicate()
|
||||
for (auto it=src_group->GetInputPassthroughs().cbegin(); it!=src_group->GetInputPassthroughs().cend(); it++) {
|
||||
NodeInput input = it->second;
|
||||
input.set_node(new_nodes.at(selected.indexOf(input.node())));
|
||||
dst_group->AddInputPassthrough(input);
|
||||
dst_group->AddInputPassthrough(input, InputFlags(), it->first);
|
||||
}
|
||||
|
||||
dst_group->SetOutputPassthrough(new_nodes.at(selected.indexOf(src_group->GetOutputPassthrough())));
|
||||
|
||||
Reference in New Issue
Block a user