Commit 7fbc3ec9 authored by frankie's avatar frankie 💬

more fail safe in time manager + better folder check in packaging script

parent 6308cf9e
......@@ -427,6 +427,9 @@ function TimeManager() {
if ( timestamp_data['shape'] == this.morph_name ) {
// slowly synching heads
var c = timestamp_data['delta'] / timestamp_data['max'];
if ( c > 1 ) {
c = 1;
}
if ( this.morph_inter.current < c ) {
this.morph_inter.current += ( c - this.morph_inter.current ) * 3 * delta;
}
......
......@@ -208,6 +208,7 @@ for root, dirs, files in os.walk( export_folder ):
break
if rmv:
shutil.rmtree(os.path.join( root, d ))
break
# copying all dirs
for d in copy_dirs:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment