diff --git a/jme3-core/src/main/java/com/jme3/ui/Picture.java b/jme3-core/src/main/java/com/jme3/ui/Picture.java index 705f72e0dc..5da04461bb 100644 --- a/jme3-core/src/main/java/com/jme3/ui/Picture.java +++ b/jme3-core/src/main/java/com/jme3/ui/Picture.java @@ -113,7 +113,7 @@ public float getWidth() { */ public void setWidth(float width){ this.width = width; - setLocalScale(new Vector3f(width, height, 1f)); + setLocalScale(width, height, 1f); } /** @@ -125,7 +125,7 @@ public void setWidth(float width){ */ public void setHeight(float height){ this.height = height; - setLocalScale(new Vector3f(width, height, 1f)); + setLocalScale(width, height, 1f); } /**