Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fix crash in Widget::TestControllerIntersection() (#3439)
Browse files Browse the repository at this point in the history
Fixes #3438
  • Loading branch information
bluemarvin authored May 29, 2020
1 parent a9b58ee commit 569671a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/cpp/Widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ Widget::TestControllerIntersection(const vrb::Vector& aStartPoint, const vrb::Ve
} else {
result = m.cylinder->TestIntersection(aStartPoint, aDirection, aResult, aNormal, aClamp, aIsInWidget, aDistance);
}
if (result && m.resizing && !aIsInWidget) {
if (result && m.resizing && m.resizer && !aIsInWidget) {
// Handle extra intersections while resizing
aIsInWidget = m.resizer->TestIntersection(aResult);
}
Expand Down

0 comments on commit 569671a

Please sign in to comment.