Fix #114047: Use correct collection during USD import #114650

Merged
Jesse Yurkovich merged 1 commits from deadpin/blender:fix114047-usdcollectioncreate into blender-v4.0-release 2023-11-09 20:08:01 +01:00

Ensure that the view layer is properly synced before trying to get the
active collection.

Without the sync, imported objects typically get placed in the global
Scene Collection rather than the new collection that was just created
for the import.

Ensure that the view layer is properly synced before trying to get the active collection. Without the sync, imported objects typically get placed in the global Scene Collection rather than the new collection that was just created for the import.
Jesse Yurkovich added 1 commit 2023-11-09 02:33:13 +01:00
buildbot/vexp-code-patch-coordinator Build done. Details
232c9b07d9
Fix #114047: Use correct collection during USD import
Jesse Yurkovich requested review from Bastien Montagne 2023-11-09 02:45:30 +01:00
Jesse Yurkovich requested review from Michael Kowalski 2023-11-09 02:45:30 +01:00
Bastien Montagne approved these changes 2023-11-09 11:16:07 +01:00
Bastien Montagne left a comment
Owner

LGTM, and think it's safe enough for 4.0 still, especially since it's a bugfix.

LGTM, and think it's safe enough for 4.0 still, especially since it's a bugfix.

@blender-bot build

@blender-bot build
Michael Kowalski approved these changes 2023-11-09 15:19:12 +01:00
Michael Kowalski left a comment
Member

Thanks for the fix!

Thanks for the fix!

Also, @ThomasDinges for reference (since we are now in BCon4 for 4.0 release).

Also, @ThomasDinges for reference (since we are now in BCon4 for 4.0 release).
Thomas Dinges approved these changes 2023-11-09 15:45:36 +01:00
Thomas Dinges left a comment
Owner

LGTM for 4.0

LGTM for 4.0
Jesse Yurkovich merged commit 360684d5a4 into blender-v4.0-release 2023-11-09 20:08:01 +01:00
Jesse Yurkovich deleted branch fix114047-usdcollectioncreate 2023-11-09 20:08:07 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#114650
No description provided.