Normand Briere
2019-04-22 ec1ab4278b2408d3b19083e530e0376f809cca44
ScriptNode.java
....@@ -538,13 +538,13 @@
538538 }
539539 if (command.equals("stoplive") || command.equals("liveoff"))
540540 {
541
- if (CameraPane.isLIVE())
541
+ if (Globals.isLIVE())
542542 CameraPane.theRenderer.ToggleLive();
543543 return;
544544 }
545545 if (command.equals("startlive") || command.equals("liveon"))
546546 {
547
- if (!CameraPane.isLIVE())
547
+ if (!Globals.isLIVE())
548548 CameraPane.theRenderer.ToggleLive();
549549 return;
550550 }
....@@ -972,25 +972,25 @@
972972
973973 if (command.equals("targetx"))
974974 {
975
- ((Mocap) object).targetx = Float.parseFloat(strs[index+2]);
975
+ ((Mocap) object).targetdirx = Float.parseFloat(strs[index+2]);
976976 return;
977977 }
978978
979979 if (command.equals("targetz"))
980980 {
981
- ((Mocap) object).targetz = Float.parseFloat(strs[index+2]);
981
+ ((Mocap) object).targetdirz = Float.parseFloat(strs[index+2]);
982982 return;
983983 }
984984
985985 if (command.equals("goalx"))
986986 {
987
- ((Mocap) object).goalx = Float.parseFloat(strs[index+2]);
987
+ ((Mocap) object).goalposx = Float.parseFloat(strs[index+2]);
988988 return;
989989 }
990990
991991 if (command.equals("goalz"))
992992 {
993
- ((Mocap) object).goalz = Float.parseFloat(strs[index+2]);
993
+ ((Mocap) object).goalposz = Float.parseFloat(strs[index+2]);
994994 return;
995995 }
996996
....@@ -1793,7 +1793,7 @@
17931793 return;
17941794 }
17951795
1796
- if (isLive() && display.isLIVE() && display.drawMode == display.SHADOW)
1796
+ if (isLive() && Globals.isLIVE() && display.DrawMode() == display.SHADOW)
17971797 {
17981798 if (reader == null)
17991799 Init();