Silenced the TangentBinormalGenrator logger for the shader node editor as the warnings are irrelevant.

experimental
Nehon 10 years ago
parent ff877160e8
commit f9d8a88bba
  1. 2
      sdk/jme3-materialeditor/src/com/jme3/gde/materials/MaterialPreviewRenderer.java

@ -60,6 +60,8 @@ public class MaterialPreviewRenderer implements SceneListener {
Sphere sphMesh = new Sphere(32, 32, 2.5f);
sphMesh.setTextureMode(Sphere.TextureMode.Projected);
sphMesh.updateGeometry(32, 32, 2.5f, false, false);
Logger log = Logger.getLogger(TangentBinormalGenerator.class.getName());
log.setLevel(Level.SEVERE);
TangentBinormalGenerator.generate(sphMesh);
sphere = new Geometry("previewSphere", sphMesh);
sphere.setLocalRotation(new Quaternion().fromAngleAxis(FastMath.QUARTER_PI, Vector3f.UNIT_X));

Loading…
Cancel
Save