Browse Source

Remove ModelBox::deletePreview().

tags/v2.0.0
Andrew Belt 2 years ago
parent
commit
f7f2678f82
1 changed files with 0 additions and 7 deletions
  1. +0
    -7
      src/app/ModuleBrowser.cpp

+ 0
- 7
src/app/ModuleBrowser.cpp View File

@@ -180,13 +180,6 @@ struct ModelBox : widget::OpaqueWidget {
box.size.x = previewWidget->box.size.x;
}

void deletePreview() {
assert(previewFb);
previewWidget->removeChild(previewFb);
delete previewFb;
previewFb = NULL;
}

void draw(const DrawArgs& args) override {
// Lazily create preview when drawn
if (!previewFb) {


Loading…
Cancel
Save