Updated xg 2d curve filter editor to 1.1
This commit is contained in:
@@ -12,7 +12,6 @@ import math
|
||||
|
||||
#init
|
||||
current_value = tde4.getParameterAdjustCurrentValue()
|
||||
best_value = tde4.getParameterAdjustCurrentValue()
|
||||
get_custom_data = tde4.getParameterAdjustCustomParameters()
|
||||
running = tde4.getParameterAdjustPhaseRunningFlag()
|
||||
|
||||
@@ -44,7 +43,10 @@ for frame in range (firstframe, lastframe + 1):
|
||||
else:
|
||||
points_to_filter.append(selected_point_position[1])
|
||||
|
||||
points_filtered = tde4.filter1D(points_to_filter,current_value,"FOURIER_FILTER")
|
||||
if len(points_to_filter) >= 3 :
|
||||
points_filtered = tde4.filter1D(points_to_filter,current_value,"FOURIER_FILTER")
|
||||
else:
|
||||
points_filtered = points_to_filter
|
||||
|
||||
if (running):
|
||||
#calculating
|
||||
|
||||
Reference in New Issue
Block a user