Before the patch, shapes were systematically linked to the scene's main collection (Maybe that's the way it's supposed to be?), regardless of the collection selection. The patch changes this to link geometry only if no canvas collection is selected.
Example
This shape creation command :
Result before the patch:
Result after the patch:
How to test it
Open Blender 4.0
Test the rig picker shape creation on an asset
## Modifications
Before the patch, shapes were systematically linked to the scene's main collection (Maybe that's the way it's supposed to be?), regardless of the collection selection. The patch changes this to link geometry only if no canvas collection is selected.
## Example
This shape creation command :

Result before the patch:

Result after the patch:

## How to test it
1. Open Blender 4.0
2. Test the rig picker shape creation on an asset
Before the patch, shapes were systematically linked to the scene's main collection, regardless of the collection selection. The patch changes this to link geometry only if no canvas collection is selected.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Modifications
Before the patch, shapes were systematically linked to the scene's main collection (Maybe that's the way it's supposed to be?), regardless of the collection selection. The patch changes this to link geometry only if no canvas collection is selected.
Example
This shape creation command :

Result before the patch:

Result after the patch:

How to test it
Thanks Swann :) LGTM!