Skip to content

Use identity matrix if transform stack is empty#986

Merged
chreden merged 1 commit intomasterfrom
bug/985
Jun 28, 2022
Merged

Use identity matrix if transform stack is empty#986
chreden merged 1 commit intomasterfrom
bug/985

Conversation

@chreden
Copy link
Copy Markdown
Owner

@chreden chreden commented Jun 21, 2022

If a model asks to pop the matrix from the top of the stack but there's nothing on the stack use the identity matrix instead of crashing the program.
Closes #985

If a model asks to pop the matrix from the top of the stack but there's nothing on the stack use the identity matrix instead of crashing the program.
Closes #985
@chreden chreden added this to the Next milestone Jun 21, 2022
@chreden chreden requested a review from makotocchi June 21, 2022 23:04
@chreden chreden self-assigned this Jun 21, 2022
@chreden chreden merged commit 62f1531 into master Jun 28, 2022
@chreden chreden deleted the bug/985 branch June 28, 2022 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when loading custom - trying to pop empty transform stack

1 participant