switched the colors for Y & Z in the axis marker
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10736 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
b577a6c336
commit
d2d86d649b
@ -130,7 +130,7 @@ public abstract class SceneEditTool {
|
|||||||
public void doUpdateToolsTransformation() {
|
public void doUpdateToolsTransformation() {
|
||||||
if (toolController.getSelectedSpatial() != null) {
|
if (toolController.getSelectedSpatial() != null) {
|
||||||
axisMarker.setLocalTranslation(toolController.getSelectedSpatial().getWorldTranslation());
|
axisMarker.setLocalTranslation(toolController.getSelectedSpatial().getWorldTranslation());
|
||||||
axisMarker.setLocalRotation(toolController.getSelectedSpatial().getWorldRotation());
|
axisMarker.setLocalRotation(toolController.getSelectedSpatial().getLocalRotation());
|
||||||
setAxisMarkerScale(toolController.getSelectedSpatial());
|
setAxisMarkerScale(toolController.getSelectedSpatial());
|
||||||
} else {
|
} else {
|
||||||
axisMarker.setLocalTranslation(Vector3f.ZERO);
|
axisMarker.setLocalTranslation(Vector3f.ZERO);
|
||||||
@ -471,8 +471,8 @@ public abstract class SceneEditTool {
|
|||||||
|
|
||||||
protected void setDefaultAxisMarkerColors() {
|
protected void setDefaultAxisMarkerColors() {
|
||||||
axisMarker.getChild("arrowX").setMaterial(redMat);
|
axisMarker.getChild("arrowX").setMaterial(redMat);
|
||||||
axisMarker.getChild("arrowY").setMaterial(blueMat);
|
axisMarker.getChild("arrowY").setMaterial(greenMat);
|
||||||
axisMarker.getChild("arrowZ").setMaterial(greenMat);
|
axisMarker.getChild("arrowZ").setMaterial(blueMat);
|
||||||
quadXY.setMaterial(yellowMat);
|
quadXY.setMaterial(yellowMat);
|
||||||
quadXZ.setMaterial(magentaMat);
|
quadXZ.setMaterial(magentaMat);
|
||||||
quadYZ.setMaterial(cyanMat);
|
quadYZ.setMaterial(cyanMat);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user