inconsistency in shader nodes when opening .blend vs. append in 2.8. Node conversion skipped when object is appended. #62415
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#62415
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system:
Graphics card: 2x 2080TI
Blender Version
(2.79b
f4dc9f9d68
, blender2.79b, 2018-03-22)(2.80,
a280867ac2
, blender2.8, 2019-03-07, as found on the splash screen)I have models (.blend files) that were created in 2.79 cycles. When attempting to open them in 2.8 I see some nodes are reconfigured, 2.79a (where Displacement was a scalar socket) and 2.8 (where Displacement is a Vector), Blender automatically replaces the "RGB to BW" node connected to the material output with a proper normalmap displacement node setup.
However, unlike opening, instead, when appending from that same file, 2.8 will not reconfigure the shaders, It retains the same node configuration as from 2.79 resulting in displacement looking blocky and incorrect: https://i.stack.imgur.com/LrXpx.png
Here is my StackOverflow post explaining in more detail and with images of the node configurations.
Also, I was able to write a script that can be run just after appending objects into the scene. It will replace the nodes linked to the Material Output node with a proper displacement node setup. This resembles the way it would have been converted as if the object were opened instead of being appended.
FixDisplacementNodes.py
Exact steps for others to reproduce the error
Added subscriber: @blended_blue
#62881 was marked as duplicate of this issue
inconsistency in shaders nodes when opening .blend vs. append/link in 2.8. Node conversions are skipped when appending.to inconsistency in shader nodes when opening .blend vs. append/link in 2.8. Node conversion skipped when object is appended.Added subscriber: @ZedDB
Can you attach a minimal 2.79 .blend file? My 2.79 builds are too new so they have converted to vector output there too.
Added subscriber: @lichtwerk
Can confirm. (for appending, if you link in the object it works after saving/reloading).
A fix was recently done for linking (in the fix for #54504).
Not even sure if do_version() runs for appending..., checking...
inconsistency in shader nodes when opening .blend vs. append/link in 2.8. Node conversion skipped when object is appended.to inconsistency in shader nodes when opening .blend vs. append in 2.8. Node conversion skipped when object is appended.Turns out
do_versions()
is run in blender when appending, but the corresponding python handler is not.And since cycles does its thing in a
bpy.app.handlers.version_update
this wont be called.D4499 is a possible solution
Added subscriber: @YegorSmirnov
This issue was referenced by blender/cycles@0f2c51ffb9
This issue was referenced by
cc5a75d572
Changed status from 'Open' to: 'Resolved'
Added subscriber: @brecht
@brecht: thank you!