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)
| 8241 | * @param msg the error message (which will be stored for later comparison) |
| 8242 | */ |
| 8243 | static public void showWarning(String msg) { // ignore |
| 8244 | if (warnings == null) { |
| 8245 | warnings = new HashMap<>(); |
| 8246 | } |
| 8247 | if (!warnings.containsKey(msg)) { |
| 8248 | System.err.println(msg); |
| 8249 | warnings.put(msg, new Object()); |
| 8250 | } |
| 8251 | } |
| 8252 | |
| 8253 | |
| 8254 | /** |
no test coverage detected