Show SILHOUETTE image if CTBREC_DEV is set to 1

This commit is contained in:
0xb00bface 2023-11-04 13:10:01 +01:00
parent 12cd5baf17
commit 2b2182354c
1 changed files with 3 additions and 0 deletions

View File

@ -297,6 +297,9 @@ public abstract class AbstractRecordedModelsTab extends Tab implements TabSelect
if (image == null && portrait.isVisible()) {
GlobalThreadPool.submit(() -> portraitCache.put(mdl, loadModelPortrait(mdl)));
}
if (Objects.equals(System.getenv("CTBREC_DEV"), "1")) {
image = SILHOUETTE;
}
imgProperty.set(image);
return imgProperty;
});