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

Fix crash in Widget::TestControllerIntersection() #3439

Merged
merged 1 commit into from
May 29, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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