engaging-computing / engaging-computing/MYR

View.js entity helper doesnt check for undefined position, scale, and/or rotation

Open
#440 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
24
Forks
22
PR merge metrics
No merged PRs in 30d

Description

The helper() function in View.js currently doesn't check for position, scale, and/or rotation being defined before trying to access their values. This results in MYR crashing if one or more of these fields are undefined.

Suggest adding code that catches this and defaults to 1 instead of hard crashing. Possibly log a warning to the console as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.