Normand Briere
2018-07-01 655810d1c4e710e7c85772b8dde96772dbcf274b
ScriptNode.java
....@@ -285,7 +285,7 @@
285285 else
286286 {
287287 if (speaker != null)
288
- System.err.println(speaker.GetFileRoot().name + " (not a command) : " + reader.line);
288
+ System.err.println(speaker.GetFileRoot().name + " (speaking) : " + reader.line);
289289 else
290290 System.err.println("no speaker (not a command) : " + reader.line);
291291 }
....@@ -412,7 +412,7 @@
412412 {
413413 //path += "/" + Filename(readers[i].script);
414414 ScriptReader reader = readers[i];
415
- path += Filename(readers[i].script) + "; duration=" + reader.duration + "; total=" + reader.totalduration +
415
+ path += Filename(reader.script) + "; duration=" + reader.duration + "; total=" + reader.totalduration +
416416 "; line#" + reader.linecount + ": " + reader.line;
417417 if (reader.line != null && // sept 2014
418418 reader.line.startsWith("_"))
....@@ -488,7 +488,7 @@
488488 reader = readers[stack] = new ScriptReader(new BufferedReader(new FileReader(script)), reader.totalduration, /*0, 0, "",*/ script);
489489 //duration = 0; // june 2014
490490 //linecount = 0;
491
- //reader.script = script;
491
+ reader.script = script; // oct 2014
492492 return;
493493 }
494494 if (command.equals("return")) // line.startsWith("; return"))
....@@ -1301,7 +1301,9 @@
13011301 {
13021302 Mocap mocap = (Mocap) object;
13031303
1304
- mocap.SetPositionDelta(false, true, false, true);
1304
+ //mocap.SetPositionDelta(false, true, false, true);
1305
+ mocap.Rewind();
1306
+ mocap.Fade();
13051307 }
13061308 else
13071309 new Exception().printStackTrace();
....@@ -1438,7 +1440,7 @@
14381440 object.skip = false;
14391441 return;
14401442 }
1441
- if (command.equals("skipmocap"))
1443
+ if (command.equals("skipmocap") || command.equals("mocapskip")) // oct 2014
14421444 {
14431445 object.skipmocap = true;
14441446 return;