From 9751e23cd71966bc0074d399b68a6e72e3cc485d Mon Sep 17 00:00:00 2001 From: Stephen Gold Date: Fri, 24 Apr 2020 10:36:50 -0700 Subject: [PATCH] Fix issue 1360: ArmatureDebugAppState causes OpenGLException --- .../java/com/jme3/scene/debug/custom/ArmatureDebugger.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java b/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java index e06f3e248..4f637b560 100644 --- a/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java +++ b/jme3-core/src/main/java/com/jme3/scene/debug/custom/ArmatureDebugger.java @@ -1,7 +1,7 @@ package com.jme3.scene.debug.custom; /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2020 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -134,12 +134,12 @@ public class ArmatureDebugger extends Node { Material matWires = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); matWires.setBoolean("VertexColor", true); - matWires.getAdditionalRenderState().setLineWidth(3); + matWires.getAdditionalRenderState().setLineWidth(1f); wires.setMaterial(matWires); Material matOutline = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); matOutline.setBoolean("VertexColor", true); - matOutline.getAdditionalRenderState().setLineWidth(5); + matOutline.getAdditionalRenderState().setLineWidth(1f); outlines.setMaterial(matOutline); Material matOutline2 = new Material(assetManager, "Common/MatDefs/Misc/DashedLine.j3md");