Commit d6d84d6e authored by legoc's avatar legoc
Browse files

Commented transform outputs

parent cebbd500
......@@ -20,6 +20,7 @@
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
......
......@@ -863,6 +863,16 @@ public class Component {
this.sceneNode.setVisible(config.isVisible());
this.sceneNode.getTransforms().addAll(invParentTransform, this.axis.getMovementTransform(), config.getTranslation(), config.getRotation(), config.getScale());
// System.out.println("Component " + getName());
// try {
// System.out.println(" parent = " + this.parent.getSceneNode().getLocalToSceneTransform());
// } catch (Exception e) {
// }
// System.out.println(" translation = " + config.getTranslation());
// System.out.println(" rotation = " + config.getRotation());
// System.out.println(" scale = " + config.getScale());
// System.out.println("");
}
for (Component child : this.children) {
......@@ -1038,6 +1048,14 @@ public class Component {
} else {
invParentTransform = new Affine();
}
// System.out.println("Component " + getName());
// System.out.println(" parent = " + invParentTransform);
// System.out.println(" translation = " + config.getTranslation());
// System.out.println(" rotation = " + config.getRotation());
// System.out.println(" scale = " + config.getScale());
// System.out.println("");
Node node = this.sceneNode;
node.getTransforms().clear();
node.getTransforms().addAll(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment