private FlamePanel getBatchPreviewFlamePanel() {
if (batchPreviewFlamePanel == null) {
int width = data.batchPreviewRootPanel.getWidth();
int height = data.batchPreviewRootPanel.getHeight();
SimpleImage img = new SimpleImage(width, height);
img.fillBackground(0, 0, 0);
batchPreviewFlamePanel = new FlamePanel(prefs, img, 0, 0, data.batchPreviewRootPanel.getWidth(), getBatchRenderPreviewFlameHolder(), null);
ResolutionProfile resProfile = getBatchRenderResolutionProfile();
batchPreviewFlamePanel.setRenderWidth(resProfile.getWidth());
batchPreviewFlamePanel.setRenderHeight(resProfile.getHeight());
batchPreviewFlamePanel.setDrawTriangles(false);