This commit is contained in:
gnembon committed 2021-03-02 09:16:56 -04:00
1 parent ec25bf4032
commit 8f592735ca
1 file changed
+4 -4
@@ -63,7 +63,7 @@ __config() ->{
'<command>'->'_call', '<command>'->'_call',
'add <seconds>'->'add', 'add <seconds>'->'add',
'prepend <seconds>'->'prepend', 'prepend <seconds>'->'prepend',
'duration <seconds>', 'duration <seconds>' -> 'duration',
'save_as <name>'->'save_as', 'save_as <name>'->'save_as',
'load <name>'->'load', 'load <name>'->'load',
'interpolation <interpolation>'->['__interpolation',true], 'interpolation <interpolation>'->['__interpolation',true],
@@ -76,8 +76,8 @@ __config() ->{
'seconds'->{'type'->'int','suggest'->[]}, 'seconds'->{'type'->'int','suggest'->[]},
'last_delay'->{'type'->'int','suggest'->[]}, 'last_delay'->{'type'->'int','suggest'->[]},
'name'->{'type'->'string','suggest'->[]}, 'name'->{'type'->'string','suggest'->[]},
'interpolation'->{'type'->'term','options'->['linear','catmull_rom']} 'interpolation'->{'type'->'term','options'->['linear','catmull_rom']},
'factor'->{'type'->'int','min'->25,'max'->'400'}, 'factor'->{'type'->'int','min'->25,'max'->400},
'command'->{'type'->'term','options'->[ 'command'->{'type'->'term','options'->[
'start', 'start',
'clear', 'clear',
@@ -212,7 +212,7 @@ __interpolation(method, verbose) ->
__update(); __update();
if(verbose, 'Interpolation changed to '+method, ''); if(verbose, 'Interpolation changed to '+method, '');
); );
__interpolation('cr', false); __interpolation('catmull_rom', false);
// adds a point to the end of the path with delay in seconds // adds a point to the end of the path with delay in seconds
add(delay) -> add(delay) ->