Skip to content

Commit

Permalink
Fix mistake in assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzolightsgdwarf committed Feb 26, 2018
1 parent 9662d95 commit 72ce1f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artoolkit_video_filter.cpp
Expand Up @@ -195,7 +195,7 @@ void ARToolKitVideoFilter::setFilter_cutoff_freq(qreal val)
if(val>0 && val!=m_cutoff_freq){
m_cutoff_freq=val;
if(m_filter_runnable)
m_filter_runnable->setFilter_cutoff_freq(m_labeling_threshold);
m_filter_runnable->setFilter_cutoff_freq(m_cutoff_freq);
emit filter_cutoff_freqChanged();
}

Expand All @@ -206,7 +206,7 @@ void ARToolKitVideoFilter::setFilter_sample_rate(qreal val)
if(val>0 && val!=m_sample_freq){
m_sample_freq=val;
if(m_filter_runnable)
m_filter_runnable->setFilter_sample_rate(m_labeling_threshold);
m_filter_runnable->setFilter_sample_rate(m_sample_freq);
emit filter_sample_rateChanged();
}
}
Expand Down

0 comments on commit 72ce1f0

Please sign in to comment.