mirror of
https://github.com/lubosz/overte.git
synced 2025-04-14 14:46:55 +02:00
Just assign mathPick.loaded in CollisionPick::getMathematicalPick
This commit is contained in:
parent
e94d7de99a
commit
9bf088d32b
1 changed files with 1 additions and 3 deletions
|
@ -356,9 +356,7 @@ CollisionPick::CollisionPick(const PickFilter& filter, float maxDistance, bool e
|
|||
|
||||
CollisionRegion CollisionPick::getMathematicalPick() const {
|
||||
CollisionRegion mathPick = _mathPick;
|
||||
if (!mathPick.loaded) {
|
||||
mathPick.loaded = isLoaded();
|
||||
}
|
||||
mathPick.loaded = isLoaded();
|
||||
if (!parentTransform) {
|
||||
return mathPick;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue