Skip to content

Commit

Permalink
Renderer: fix crash on remove selection
Browse files Browse the repository at this point in the history
  • Loading branch information
realthunder committed Oct 15, 2022
1 parent 410ded6 commit 7a7961b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gui/Inventor/SoFCRenderCacheManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ SoFCRenderCacheManager::removeSelection(const std::string & key,
}

itpath = paths.erase(itpath);
if (paths.size() > 1)
if (paths.size() != 1)
continue;

// Check if there is an implicit full selection, added because selection on
Expand Down

0 comments on commit 7a7961b

Please sign in to comment.