Show a renderer error, and keep track of it so that it's only shown once. @param msg the error message (which will be stored for later comparison)
(String msg)
| 8248 | * @param msg the error message (which will be stored for later comparison) |
| 8249 | */ |
| 8250 | static public void showWarning(String msg) { // ignore |
| 8251 | if (warnings == null) { |
| 8252 | warnings = new HashMap<>(); |
| 8253 | } |
| 8254 | if (!warnings.containsKey(msg)) { |
| 8255 | System.err.println(msg); |
| 8256 | warnings.put(msg, new Object()); |
| 8257 | } |
| 8258 | } |
| 8259 | |
| 8260 | |
| 8261 | /** |
no test coverage detected