This follows the guidance in T90747 for setting up the drag/drop area
and updating the scene.
Tested by dragging/dropping several different Environment assets onto
the viewport while Cycles rendered mode was active.
Differential D12566
Asset Browser: Allow World assets to be drag/dropped onto viewport Authored by Jesse Yurkovich (deadpin) on Sep 20 2021, 6:07 AM. Tags Subscribers None Tokens
Details This follows the guidance in T90747 for setting up the drag/drop area Tested by dragging/dropping several different Environment assets onto
Diff Detail
Event Timeline
Comment Actions Thanks for the patch! Implementation looks straight forward. I have been noted that you should not use Fix... in the title when adding new functionality, only when solving bugs. (I also did this in the past). You should use the area where the change is in. For here I would use Asset Browser: ...
Comment Actions Ah, indeed, undo support. Undo seems to work well and I was able to remove 1 of the notifications. I needed to keep 2 of them though:
Comment Actions Alright, this version now uses just 1 notification and has things respond appropriately. The only drawback is that this is now the 3rd instance of the use_scene_world logic I could find in the codebase. A separate cleanup patch could possible look like the following (had difficulty knowing where to place the common methods): P2429 Comment Actions Great! | |||||||||||||||||||||||||||