Skip to content

Commit 837b623

Browse files
authored
BillboardControl: remove fixRefreshFlags() method
1 parent b2c19b1 commit 837b623

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

jme3-core/src/main/java/com/jme3/scene/control/BillboardControl.java

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,19 +119,6 @@ protected void controlUpdate(float tpf) {
119119
protected void controlRender(RenderManager rm, ViewPort vp) {
120120
Camera cam = vp.getCamera();
121121
rotateBillboard(cam);
122-
updateRefreshFlags();
123-
}
124-
125-
private void updateRefreshFlags() {
126-
// force transforms to update below this node
127-
spatial.updateGeometricState();
128-
129-
// force world bound to update
130-
Spatial rootNode = spatial;
131-
while (rootNode.getParent() != null) {
132-
rootNode = rootNode.getParent();
133-
}
134-
rootNode.getWorldBound();
135122
}
136123

137124
/**

0 commit comments

Comments
 (0)