Generating cloud rig appeared error. #108
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-6.3.12-200.fc38.x86_64-x86_64-with-glibc2.37 64 Bits
Blender Version
3.6.0, branch: blender-v3.6-release, commit: 2023-06-27
CloudRig Version: (0, 0, 9) (2023-07-11 03:58)
After setting up the rig and the generate the rig, these errors occurred. Regenerate again will not appear the errors
Here's the log:
To reproduce this bug, generate rig at first of open the blender the bug hasn't occurred yet. But, when re-open again (revert) and generate the rig again, the errors occur.
Issues.blend
changed the description
changed the description
changed the description
While I could not reproduce the bug, I agree that having asserts in UI drawing code is a bit unjustified/unwise. I replaced the asserts with a run-of-the-mill console warning.
Somebody could reach this warning by generating the rig, and then deleting the Properties bone, or any custom property used by CloudRig anywhere in its UI. And if the user can get to that state with legal Blender operations, it probably shouldn't be an assert.
Although it looks like there other cases like this in the code, but at least those are from operator calls rather than UI drawing code. At some point, those should also be changed from lazy asserts to proper raise Exception+try/except pattern.
Thanks for the report.
mentioned in commit
a47bb16472