Show SILHOUETTE image if CTBREC_DEV is set to 1
This commit is contained in:
parent
12cd5baf17
commit
2b2182354c
|
@ -297,6 +297,9 @@ public abstract class AbstractRecordedModelsTab extends Tab implements TabSelect
|
||||||
if (image == null && portrait.isVisible()) {
|
if (image == null && portrait.isVisible()) {
|
||||||
GlobalThreadPool.submit(() -> portraitCache.put(mdl, loadModelPortrait(mdl)));
|
GlobalThreadPool.submit(() -> portraitCache.put(mdl, loadModelPortrait(mdl)));
|
||||||
}
|
}
|
||||||
|
if (Objects.equals(System.getenv("CTBREC_DEV"), "1")) {
|
||||||
|
image = SILHOUETTE;
|
||||||
|
}
|
||||||
imgProperty.set(image);
|
imgProperty.set(image);
|
||||||
return imgProperty;
|
return imgProperty;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue