8000 Make Scene Composer grid symmetrical · jMonkeyEngine/sdk@088cb96 · GitHub
[go: up one dir, main page]

Skip to content

Commit 088cb96

Browse files
committed
Make Scene Composer grid symmetrical
1 parent d334e9a commit 088cb96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jme3-core/src/com/jme3/gde/core/scene/controller/SceneToolController.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ protected final void initTools() {
136136
//cursor.attachChild(cursorArrowZ);
137137

138138
//grid
139-
grid = new Geometry("grid", new Grid(20, 20, 1.0f));
139+
grid = new Geometry("grid", new Grid(21, 21, 1.0f));
140140
grid.setMaterial(grayMat);
141-
grid.setLocalTranslation(-10, 0, -10);
141+
grid.center().move(Vector3f.ZERO);
142142
SceneApplication.getApplication().enqueue(new Callable<Object>() {
143143
@Override
144144
public Object call() throws Exception {

0 commit comments

Comments
 (0)
0