| FileObject.java | ●●●●● patch | view | raw | blame | history | |
| Grafreed.java | ●●●●● patch | view | raw | blame | history | |
| GroupEditor.java | ●●●●● patch | view | raw | blame | history | |
| Mocap.java | ●●●●● patch | view | raw | blame | history | |
| MocapEditor.java | ●●●●● patch | view | raw | blame | history | |
| ObjEditor.java | ●●●●● patch | view | raw | blame | history | |
| RandomEditor.java | ●●●●● patch | view | raw | blame | history | 
FileObject.java
.. .. @@ -17,6 +17,19 @@ 17 17 filecontent = null; 18 18 } 19 19 20  + boolean HasBigData()21  + {22  + return false;23  + }24  +25  + void ExtractBigData(java.util.Hashtable<java.util.UUID, Object3D> hashtable)26  + {27  + }28  +29  + void RestoreBigData(java.util.Hashtable<java.util.UUID, Object3D> hashtable)30  + {31  + }32  +20 33 boolean IsStatic() 21 34 { 22 35 return false; // ???? false; Grafreed.java
.. .. @@ -673,6 +673,8 @@ 673 673 PlayWord(word, 1); 674 674 } 675 675 676  + static boolean isWindows;677  +676 678 public static void main(String argv[]) 677 679 { 678 680 String osArch = System.getProperty("os.arch"); .. .. @@ -704,6 +706,7 @@ 704 706 // -Djava.library.path=/Users/nbriere/Projects/shared/lib 705 707 if (jarfile.charAt(2) == ':') 706 708 { 709  + isWindows = true;707 710 command = "\"" + javaPath + "\" -Xmx1024m -Djava.library.path=" + jarpath; 708 711 // On Windows systems, the path is /C:/ 709 712 jarfile = jarfile.substring(1, jarfile.length()); GroupEditor.java
.. .. @@ -766,10 +766,10 @@ 766 766 shadowZItem = menu.add(new MenuItem("Shadow Blue")); 767 767 shadowZItem.addActionListener(this); 768 768 769  - if (Globals.ADVANCED)770  - {771 769 attributeItem = menu.add(new MenuItem("Attribute")); 772 770 attributeItem.addActionListener(this); 771  + if (Globals.ADVANCED)772  + {773 773 menu.add("-"); 774 774 linkerItem = menu.add(new MenuItem("Linker")); 775 775 linkerItem.addActionListener(this); .. .. @@ -2722,11 +2722,11 @@ 2722 2722 if (!group.selection.isEmpty()) 2723 2723 { 2724 2724 Composite csg = new GroupLeaf(); 2725  + group(csg);2725 2726 csg.count = 5; 2726 2727 Composite child = new cGroup("Branch"); 2727 2728 csg.addChild(child); 2728 2729 child.addChild(csg); 2729  - group(csg);2730 2730 } 2731 2731 } else 2732 2732 if (source == doubleItem) .. .. @@ -2734,6 +2734,7 @@ 2734 2734 if (!group.selection.isEmpty()) 2735 2735 { 2736 2736 Composite csg = new GroupLeaf("Fork"); 2737  + group(csg);2737 2738 csg.count = 5; 2738 2739 Composite child = new cGroup("Branch A"); 2739 2740 csg.addChild(child); .. .. @@ -2741,7 +2742,6 @@ 2741 2742 child = new cGroup("Branch B"); 2742 2743 csg.addChild(child); 2743 2744 child.addChild(csg); 2744  - group(csg);2745 2745 } 2746 2746 } else 2747 2747 if (source == tripleItem) Mocap.java
.. .. @@ -3992,6 +3992,11 @@ 3992 3992 // GetObject().release(i); 3993 3993 } 3994 3994 3995  + boolean HasBigData()3996  + {3997  + return skeleton != null;3998  + }3999  +3995 4000 public Object3D get(int i) 3996 4001 { 3997 4002 if (i != 0) MocapEditor.java
.. .. @@ -59,6 +59,11 @@ 59 59 SetupUI2(objEditor); 60 60 } 61 61 62  + String GetSupportText()63  + {64  + return "Hip pos";65  + }66  +62 67 void SetupUI2(ObjEditor oe) 63 68 { 64 69 /* ObjEditor.java
.. .. @@ -136,19 +136,19 @@ 136 136 { 137 137 BufferedImage image; 138 138 139  -// if (name.endsWith("jpg"))140  -// {141  -// try142  -// {143  -// // Much faster!144  -// image = new sun.awt.image.codec.JPEGImageDecoderImpl(ObjEditor.class.getClassLoader().getResourceAsStream(name)).decodeAsBufferedImage();145  -// }146  -// catch (Exception e)147  -// {148  -// image = javax.imageio.ImageIO.read(ObjEditor.class.getClassLoader().getResourceAsStream(name));149  -// }150  -// }151  -// else139  + if (!Grafreed.isWindows && name.endsWith("jpg"))140  + {141  + try142  + {143  + // Much faster!144  + image = new sun.awt.image.codec.JPEGImageDecoderImpl(ObjEditor.class.getClassLoader().getResourceAsStream(name)).decodeAsBufferedImage();145  + }146  + catch (Exception e)147  + {148  + image = javax.imageio.ImageIO.read(ObjEditor.class.getClassLoader().getResourceAsStream(name));149  + }150  + }151  + else152 152 image = javax.imageio.ImageIO.read(ObjEditor.class.getClassLoader().getResourceAsStream(name)); 153 153 154 154 // if (image.getWidth() > 48 && image.getHeight() > 48) .. .. @@ -1341,6 +1341,11 @@ 1341 1341 obj = o; 1342 1342 } 1343 1343 } 1344  +1345  + String GetSupportText()1346  + {1347  + return "Support";1348  + }1344 1349 1345 1350 void SetupUI2(ObjEditor oe) 1346 1351 { .. .. @@ -1392,7 +1397,7 @@ 1392 1397 randomCB = AddCheckBox(setupPanel2, "Random", copy.random); 1393 1398 randomCB.setToolTipText("Randomly Rewind (or Go back and forth)"); 1394 1399 1395  - link2masterCB = AddCheckBox(setupPanel2, "Support", copy.link2master);1400  + link2masterCB = AddCheckBox(setupPanel2, GetSupportText(), copy.link2master);1396 1401 link2masterCB.setToolTipText("Attach to support"); 1397 1402 1398 1403 if (Globals.ADVANCED) .. .. @@ -4094,6 +4099,20 @@ 4094 4099 if (event.getSource() == randomCB) 4095 4100 { 4096 4101 copy.random ^= true; 4102  + if (this instanceof RandomEditor)4103  + {4104  + cGridBag itemPanel = ((RandomEditor)this).itemPanel;4105  + itemPanel.getComponent(0).setEnabled(!copy.random);4106  +4107  + // Tooltip?4108  + if (copy.random)4109  + {4110  + }4111  + else4112  + {4113  + }4114  + }4115  +4097 4116 objEditor.refreshContents(); 4098 4117 return; 4099 4118 } RandomEditor.java
.. .. @@ -58,12 +58,18 @@ 58 58 SetupUI2(objEditor); 59 59 } 60 60 61  + String GetSupportText()62  + {63  + return "Show all";64  + }65  +61 66 void SetupUI2(ObjEditor oe) 62 67 { 63 68 super.SetupUI2(oe); 64 69 itemPanel = AddSlider(oe.ctrlPanel, "Item: ", 0, randomnode.Size()-1, randomnode.rndIndex); 65 70 66 71 itemField = (cNumberSlider)itemPanel.getComponent(1); 72  + itemPanel.getComponent(0).setEnabled(!randomnode.random);67 73 oe.ctrlPanel.Return(); 68 74 69 75 oe.ctrlPanel.Return();