• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Révisionca01c21a24b881cd2525d30677ddcd84290b0b4e (tree)
l'heure2013-04-27 23:46:46
Auteurremy.bouquet@gmail.com <remy.bouquet@gmai...>
Commiterremy.bouquet@gmail.com

Message de Log

SkeletonControl made some cleanup, removed old comments

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10579 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Change Summary

Modification

--- a/engine/src/core/com/jme3/animation/SkeletonControl.java
+++ b/engine/src/core/com/jme3/animation/SkeletonControl.java
@@ -426,14 +426,6 @@ public class SkeletonControl extends AbstractControl implements Cloneable {
426426 }
427427
428428 /**
429- * sets the skeleton for this control
430- *
431- * @param skeleton
432- */
433-// public void setSkeleton(Skeleton skeleton) {
434-// this.skeleton = skeleton;
435-// }
436- /**
437429 * returns a copy of array of the targets meshes of this control
438430 *
439431 * @return
@@ -443,14 +435,6 @@ public class SkeletonControl extends AbstractControl implements Cloneable {
443435 }
444436
445437 /**
446- * sets the target meshes of this control
447- *
448- * @param targets
449- */
450-// public void setTargets(Mesh[] targets) {
451-// this.targets = targets;
452-// }
453- /**
454438 * Update the mesh according to the given transformation matrices
455439 *
456440 * @param mesh then mesh
@@ -731,26 +715,14 @@ public class SkeletonControl extends AbstractControl implements Cloneable {
731715 super.write(ex);
732716 OutputCapsule oc = ex.getCapsule(this);
733717 oc.write(skeleton, "skeleton", null);
734- //Targets and materials doesn't need to be saved, th'ay be gathered on each frame
735- //oc.write(targets, "targets", null);
736- //oc.write(materials, "materials", null);
718+ //Targets and materials don't need to be saved, they'll be gathered on each frame
737719 }
738720
739721 @Override
740722 public void read(JmeImporter im) throws IOException {
741723 super.read(im);
742724 InputCapsule in = im.getCapsule(this);
743-// Savable[] sav = in.readSavableArray("targets", null);
744-// if (sav != null) {
745-// targets = new Mesh[sav.length];
746-// System.arraycopy(sav, 0, targets, 0, sav.length);
747-// }
748725 skeleton = (Skeleton) in.readSavable("skeleton", null);
749-// sav = in.readSavableArray("materials", null);
750-// if (sav != null) {
751-// materials = new Material[sav.length];
752-// System.arraycopy(sav, 0, materials, 0, sav.length);
753-// }
754726 }
755727
756728 private void updateTargetsAndMaterials(Spatial spatial) {