alpha over and opacity nodes are now functional

This commit is contained in:
itsmattkc
2019-09-06 15:45:12 +10:00
parent a5fb8693d0
commit c2e59b0855
16 changed files with 104 additions and 19 deletions
@@ -52,6 +52,7 @@ void NodeParamViewWidgetBridge::CreateWidgets()
case NodeParam::kTexture:
case NodeParam::kMatrix:
case NodeParam::kTrack:
case NodeParam::kRational:
break;
case NodeParam::kInt:
{
@@ -63,6 +64,7 @@ void NodeParamViewWidgetBridge::CreateWidgets()
case NodeParam::kFloat:
{
FloatSlider* slider = new FloatSlider();
slider->SetValue(base_input->get_value(0).toDouble());
widgets_.append(slider);
connect(slider, SIGNAL(ValueChanged(double)), this, SLOT(WidgetCallback()));
break;
@@ -125,6 +127,7 @@ void NodeParamViewWidgetBridge::WidgetCallback()
case NodeParam::kTexture:
case NodeParam::kMatrix:
case NodeParam::kTrack:
case NodeParam::kRational:
break;
case NodeParam::kInt:
{