Files
test2/source
YimingWu a143a99634 Fix #128247: Show warning when applying rotation on invalid matrix
When a object matrix has a determinant of 0 (which typically means 0s on
one or more of the scale axes), the matrix inversion would become
invalid thus the inversion matrix will be quietly set to diag(0). This
would basically reset all vertices to the origin of the object after
applying the inversion matrix. This happens in the "apply rotation"
stage.

Now addtional warnings will be shown to the user when there are
objects that tries to go through such operation, and they will be
skipped.

-------

It will look like this when some objects failed, if you want to test, just scale some objects to 0 and apply rotation:

![图片](/attachments/8c80cf13-895f-4ec9-a631-9951bc961fca)

Pull Request: https://projects.blender.org/blender/blender/pulls/128273
2025-04-30 06:16:38 +02:00
..