Fix: USD Export: Calculate extents properly for lights #113910

Closed
Charles Wardlaw wants to merge 1 commits from CharlesWardlaw/blender:bugfix/light_bounds into blender-v4.0-release

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

Lights without calculated Extents are not considered correct USD. This is now possible with the APIs provided by recent USD versions.

Lights without calculated Extents are not considered correct USD. This is now possible with the APIs provided by recent USD versions.
Charles Wardlaw added the
Interest
USD
label 2023-10-19 00:24:37 +02:00
Charles Wardlaw requested review from Michael Kowalski 2023-10-19 00:25:23 +02:00
Charles Wardlaw requested review from Hans Goudey 2023-10-19 00:25:32 +02:00
Hans Goudey approved these changes 2023-10-19 09:38:05 +02:00
Hans Goudey left a comment
Member

Based on the API documentation, this makes sense to me, and the code looks good.

Based on the API documentation, this makes sense to me, and the code looks good.
Hans Goudey changed title from USD: Small change to make sure lights have their Extents properly calculated. to Fix: USD Export: Calculate extents properly for lights 2023-10-19 09:38:29 +02:00
Member

Though since this is a fix, I believe it should target the 4.0 branch.

Though since this is a fix, I believe it should target the 4.0 branch.
Charles Wardlaw changed title from Fix: USD Export: Calculate extents properly for lights to Fix: USD Export: Calculate extents properly for lights 2023-10-20 15:52:55 +02:00
CharlesWardlaw changed target branch from main to blender-v4.0-release 2023-10-20 15:53:00 +02:00
Author
Member

Though since this is a fix, I believe it should target the 4.0 branch.

I changed the target-- Please let me know if you need anything else.

> Though since this is a fix, I believe it should target the 4.0 branch. I changed the target-- Please let me know if you need anything else.
Member

Just changing the target isn't enough, you have to rebase the commits. Check out the "Rebasing a Pull Request" instructions here: https://wiki.blender.org/wiki/Tools/Pull_Requests

Just changing the target isn't enough, you have to rebase the commits. Check out the "Rebasing a Pull Request" instructions here: https://wiki.blender.org/wiki/Tools/Pull_Requests
Author
Member

Ahh just noticed I need to rebase now -- give me a few.

Ahh just noticed I need to rebase now -- give me a few.
Charles Wardlaw force-pushed bugfix/light_bounds from cf75b20123 to d66f96df09 2023-10-20 16:56:56 +02:00 Compare

@blender-bot build

@blender-bot build
Michael Kowalski approved these changes 2023-11-21 01:50:40 +01:00
Michael Kowalski left a comment
Member

This looks good. Thank you!

Due to an oversight on my part, this wasn't merged in time into the 4.0 release branch. My apologies.

This pull can now be merged into main. Since this change is small, I will commit it manually into main, rather than requiring @CharlesWardlaw to rebase the pull yet again.

This looks good. Thank you! Due to an oversight on my part, this wasn't merged in time into the 4.0 release branch. My apologies. This pull can now be merged into main. Since this change is small, I will commit it manually into main, rather than requiring @CharlesWardlaw to rebase the pull yet again.

Committed to main in e6ff1348cb

Committed to main in https://projects.blender.org/blender/blender/commit/e6ff1348cb515ede6621c252f9fd108deb46d790
Michael Kowalski closed this pull request 2023-11-21 02:55:10 +01:00
Some checks reported errors
buildbot/vexp-code-patch-coordinator Build done.

Pull request closed

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
3 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#113910
No description provided.