Fix #104982: Ensure view layer when baking line art. #117227

Merged
YimingWu merged 2 commits from ChengduLittleA/blender:lineart-fix-baking-camera-switching into main 2024-01-25 04:33:47 +01:00
Member

This is more like a hack, which ensures view layer depsgraph evaluation
when baking line art. It should fix the problem where the camera marker
switch would cause view_layer->object_bases_array == null.

Please test to see if this really fixes.

This is more like a hack, which ensures view layer depsgraph evaluation when baking line art. It should fix the problem where the camera marker switch would cause `view_layer->object_bases_array == null`. Please test to see if this really fixes.
YimingWu added the
Interest
Line Art
label 2024-01-17 13:43:46 +01:00
YimingWu added 1 commit 2024-01-17 13:43:51 +01:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
3878d2f44a
Fix #104982: Ensure view layer when baking line art.
Author
Member

@blender-bot build

@blender-bot build
Member

Hi, failing in compositor test which seems unrelated to this change. Can you merge the main branch and run buildbot again? 🙂

Hi, failing in compositor test which seems unrelated to this change. Can you merge the main branch and run buildbot again? 🙂
Author
Member

Will do, just a sec. It should be alright

Will do, just a sec. It should be alright
YimingWu added 1 commit 2024-01-24 12:35:44 +01:00
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
bef4c58fd0
Merge branch 'main' into lineart-fix-baking-camera-switching
First-time contributor

Does the blender bot need a prompt to kick off a build? I guess only the blessed can do that. 😄

Does the blender bot need a prompt to kick off a build? I guess only the blessed can do that. 😄
Member

@blender-bot build

@blender-bot build
First-time contributor

Please don't tell me a linter error can block this getting merged now.

Please don't tell me a linter error can block this getting merged now.
Author
Member

How is this gonna have linter error it's literally just 1 line 🤔

How is this gonna have linter error it's literally just 1 line 🤔
First-time contributor

It is someone else's changes triggering the linter check. Nothing at all to do with this change.
diff --git a/source/blender/makesrna/intern/rna_modifier.cc b/source/blender/makesrna/intern/rna_modifier.cc
Someone left some extra whitespace in their commit.

It is someone else's changes triggering the linter check. Nothing at all to do with this change. `diff --git a/source/blender/makesrna/intern/rna_modifier.cc b/source/blender/makesrna/intern/rna_modifier.cc` Someone left some extra whitespace in their commit.
Author
Member

@PratikPB2123 do you think we can merge this?

@PratikPB2123 do you think we can merge this?
Member

Yes, those formatting errors are related to the GPv3 modifier (color modifier)
I think we can merge this PR (if fix is correct since my knowledge is limited here)

Yes, those formatting errors are related to the GPv3 modifier (color modifier) I think we can merge this PR (if fix is correct since my knowledge is limited here)
Author
Member

Thanks! I'll merge it then.

Thanks! I'll merge it then.
YimingWu merged commit f2d08d2cbe into main 2024-01-25 04:33:47 +01:00
YimingWu deleted branch lineart-fix-baking-camera-switching 2024-01-25 04:33:49 +01:00
Sign in to join this conversation.
No reviewers
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#117227
No description provided.