Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix reflection probe image assignment in Blender 4.2
Blender 4.2 no longer allows images (or possibly anything) to be assigned to uninitialized Group IDProperties via key access, e.g. `probe_component['envMapTexture'] = img` isn't allowed anymore. Images are now assigned directly to the property without going through the key, e.g. `probe_component.envMapTexture = img`. Note: `setattr` also works because it also directly assigns without going through the key.
- Loading branch information