Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect error checking and notifications introduced in PR godot…
…engine#80414. There was an error in the other branch of the refactored function where the size of the array was not properly multiplied by the size of the float to check against the buffer size. This was only an error in the error-checking itself and not the functionality. There was also an error where the proper notification was not emitted whenever the buffer for the multimesh is recreated to invalidate the previous references the renderer might've created to it. This fixes CPU Particles getting corrupted when they're created without emission being enabled.
- Loading branch information