nodeparamviewwidgetbridge: null check time target

This commit is contained in:
itsmattkc
2022-11-07 22:01:52 -08:00
parent 373717629e
commit 2aaa2fb87c
3 changed files with 3 additions and 14 deletions
@@ -547,7 +547,8 @@ void NodeParamViewWidgetBridge::TimeTargetConnectEvent(ViewerOutput *v)
void NodeParamViewWidgetBridge::InputValueChanged(const NodeInput &input, const TimeRange &range)
{
if (GetInnerInput() == input
if (GetTimeTarget()
&& GetInnerInput() == input
&& !dragger_.IsStarted()
&& range.in() <= GetTimeTarget()->GetPlayhead() && range.out() >= GetTimeTarget()->GetPlayhead()) {
// We'll need to update the widgets because the values have changed on our current time