Skip to content

Commit b57b4f7

Browse files
committed
add missing redraw request for implicit surfaces
1 parent 21f15ad commit b57b4f7

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/image_quantity_base.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ ImageQuantity::ImageQuantity(Structure& parent_, std::string name_, size_t dimX_
2424
isShowingCameraBillboard.setPassive(true);
2525
isShowingImGuiWindow.setPassive(false);
2626
}
27+
28+
requestRedraw();
2729
}
2830

2931
void ImageQuantity::draw() {

src/render_image_quantity_base.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ RenderImageQuantityBase::RenderImageQuantityBase(Structure& parent_, std::string
2121
if (hasNormals) {
2222
normals.setTextureSize(dimX, dimY);
2323
}
24+
25+
requestRedraw();
2426
}
2527

2628
size_t RenderImageQuantityBase::nPix() { return dimX * dimY; }

0 commit comments

Comments
 (0)