Fixed a segmentation fault when selecting many objects
This commit is contained in:
parent
1a5815a994
commit
d482d6731a
2 changed files with 11 additions and 10 deletions
|
|
@ -26,6 +26,7 @@ class DrawingProgramSelection {
|
|||
void preupdate_component(const CollabListType::ObjectInfoPtr& objToCheck);
|
||||
private:
|
||||
std::function<bool(const std::shared_ptr<DrawingProgramCacheBVHNode>&, std::vector<CollabListType::ObjectInfoPtr>&)> erase_select_objects_in_bvh_func(std::unordered_set<CollabListType::ObjectInfoPtr>& selectedComponents, const SCollision::ColliderCollection<float>& cC, const SCollision::ColliderCollection<WorldScalar>& cCWorld);
|
||||
void fully_collided_erase_select_objects_func(std::unordered_set<CollabListType::ObjectInfoPtr>& selectedComponents, const std::shared_ptr<DrawingProgramCacheBVHNode>& bvhNode);
|
||||
|
||||
void delete_all();
|
||||
bool mouse_collided_with_selection_aabb();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue