diff --git a/src/main/resources/assets/carpet/scripts/camera.sc b/src/main/resources/assets/carpet/scripts/camera.sc index 8f21ced5..4ed58ef6 100644 --- a/src/main/resources/assets/carpet/scripts/camera.sc +++ b/src/main/resources/assets/carpet/scripts/camera.sc @@ -63,7 +63,7 @@ __config() ->{ ''->'_call', 'add '->'add', 'prepend '->'prepend', - 'duration ', + 'duration ' -> 'duration', 'save_as '->'save_as', 'load '->'load', 'interpolation '->['__interpolation',true], @@ -76,8 +76,8 @@ __config() ->{ 'seconds'->{'type'->'int','suggest'->[]}, 'last_delay'->{'type'->'int','suggest'->[]}, 'name'->{'type'->'string','suggest'->[]}, - 'interpolation'->{'type'->'term','options'->['linear','catmull_rom']} - 'factor'->{'type'->'int','min'->25,'max'->'400'}, + 'interpolation'->{'type'->'term','options'->['linear','catmull_rom']}, + 'factor'->{'type'->'int','min'->25,'max'->400}, 'command'->{'type'->'term','options'->[ 'start', 'clear', @@ -212,7 +212,7 @@ __interpolation(method, verbose) -> __update(); 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 add(delay) ->