Skip to content

Commit 3ffbbc5

Browse files
committed
GltfModifier may run on ContentLoaded, too, and must not be unloaded.
1 parent 77bbca1 commit 3ffbbc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cesium3DTilesSelection/src/TilesetContentManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,7 @@ UnloadTileContentResult TilesetContentManager::unloadTileContent(Tile& tile) {
14751475

14761476
TileLoadState state = tile.getState();
14771477
// Test if a glTF modifier is in progress.
1478-
if (_externals.pGltfModifier && state == TileLoadState::Done) {
1478+
if (_externals.pGltfModifier) {
14791479
auto* renderContent = tile.getContent().getRenderContent();
14801480
if (renderContent) {
14811481
switch (renderContent->getGltfModifierState()) {

0 commit comments

Comments
 (0)