Normand Briere
2019-05-02 a76491b66a2e304d9ae27a162f407b98c70fbafa
ObjEditor.java
....@@ -143,6 +143,8 @@
143143 //nameField.removeActionListener(this);
144144 // objEditor.ctrlPanel.remove(nameField);
145145
146
+ objEditor.ctrlPanel.remove(namePanel);
147
+
146148 if (!GroupEditor.allparams)
147149 return;
148150
....@@ -165,7 +167,6 @@
165167 // objEditor.ctrlPanel.remove(fasterButton);
166168 // objEditor.ctrlPanel.remove(remarkButton);
167169
168
- objEditor.ctrlPanel.remove(namePanel);
169170 objEditor.ctrlPanel.remove(setupPanel);
170171 objEditor.ctrlPanel.remove(commandsPanel);
171172 objEditor.ctrlPanel.remove(pushPanel);
....@@ -967,28 +968,45 @@
967968 setupPanel = new cGridBag().setVertical(false);
968969
969970 liveCB = AddCheckBox(setupPanel, "Live", copy.live);
970
- if (Globals.ADVANCED)
971
- link2masterCB = AddCheckBox(setupPanel, "Supp", copy.link2master);
971
+ liveCB.setToolTipText("Animate object");
972972 hideCB = AddCheckBox(setupPanel, "Hide", copy.hide);
973
+ hideCB.setToolTipText("Hide object");
973974 // Return();
974975 markCB = AddCheckBox(setupPanel, "Mark", copy.marked);
975
- rewindCB = AddCheckBox(setupPanel, "Rew", copy.rewind);
976
- randomCB = AddCheckBox(setupPanel, "Rand", copy.random);
976
+ markCB.setToolTipText("Set the animation target transform");
977
+
978
+ rewindCB = AddCheckBox(setupPanel, "Rewind", copy.rewind);
979
+ rewindCB.setToolTipText("Rewind animation");
980
+
981
+ randomCB = AddCheckBox(setupPanel, "Random", copy.random);
982
+ randomCB.setToolTipText("Option for switch node");
977983
984
+ if (Globals.ADVANCED)
985
+ {
986
+ link2masterCB = AddCheckBox(setupPanel, "Support", copy.link2master);
987
+ link2masterCB.setToolTipText("Attach to support");
988
+ speedupCB = AddCheckBox(setupPanel, "Speed", copy.speedup);
989
+ speedupCB.setToolTipText("Option motion capture");
990
+ }
991
+
978992 oe.ctrlPanel.add(setupPanel);
979993 oe.ctrlPanel.Return();
980994
981995 commandsPanel = new cGridBag().setVertical(false);
982996
983997 resetButton = AddButton(commandsPanel, "Reset");
998
+ resetButton.setToolTipText("Jump to frame zero");
984999 stepButton = AddButton(commandsPanel, "Step");
1000
+ stepButton.setToolTipText("Step one frame");
9851001 // resetAllButton = AddButton(oe, "Reset All");
9861002 // stepAllButton = AddButton(oe, "Step All");
987
- speedupCB = AddCheckBox(commandsPanel, "Speed", copy.speedup);
9881003 // Return();
9891004 slowerButton = AddButton(commandsPanel, "Slow");
1005
+ slowerButton.setToolTipText("Decrease animation speed");
9901006 fasterButton = AddButton(commandsPanel, "Fast");
1007
+ fasterButton.setToolTipText("Increase animation speed");
9911008 remarkButton = AddButton(commandsPanel, "Remark");
1009
+ remarkButton.setToolTipText("Set the current transform as the target");
9921010
9931011 oe.ctrlPanel.add(commandsPanel);
9941012 oe.ctrlPanel.Return();
....@@ -2979,6 +2997,7 @@
29792997 if (event.getSource() == randomCB)
29802998 {
29812999 copy.random ^= true;
3000
+ objEditor.refreshContents();
29823001 return;
29833002 }
29843003 if (event.getSource() == speedupCB)