Red dashed line when evaluating "Position" node (or other fields node) when there is a Switch node down the evaluation line #92087

Closed
opened 2021-10-10 13:37:25 +02:00 by Juan Gea · 8 comments

System Information
Operating system: Linux-5.13.0-7614-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.63.01

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-09 19:40, hash: 79425ed326

Short description of error
Everything works, but the dashed line is red, I'm not sure how to explain it with words, so I created an example scene and a picture.

image.png

Example scene: bug_red_wire.blend

Exact steps for others to reproduce the error

Just open the example scene and you will see the red dashed wire.

In the modifier you can toggle the offset bool to see that everything is working as expected, so I suspect is a "mistake" in the evaluation chain that is not affecting functionality, just triggering the red color in the dashed wire.

UPDATE:

It seems that it happens because if you make an erroneous connection to a node, in this case the switch node, then you change the node type to the correct one, the erroneous connection is still being evaluated.

Check this video, complex to explain with words, easy to understand in video, very short, 2 minutes:
red_line_bug_catch_C.mp4

**System Information** Operating system: Linux-5.13.0-7614-generic-x86_64-with-glibc2.33 64 Bits Graphics card: NVIDIA GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.63.01 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-09 19:40, hash: `79425ed326` **Short description of error** Everything works, but the dashed line is red, I'm not sure how to explain it with words, so I created an example scene and a picture. ![image.png](https://archive.blender.org/developer/F10934814/image.png) Example scene: [bug_red_wire.blend](https://archive.blender.org/developer/F10934819/bug_red_wire.blend) **Exact steps for others to reproduce the error** Just open the example scene and you will see the red dashed wire. In the modifier you can toggle the offset bool to see that everything is working as expected, so I suspect is a "mistake" in the evaluation chain that is not affecting functionality, just triggering the red color in the dashed wire. UPDATE: It seems that it happens because if you make an erroneous connection to a node, in this case the switch node, then you change the node type to the correct one, the erroneous connection is still being evaluated. Check this video, complex to explain with words, easy to understand in video, very short, 2 minutes: [red_line_bug_catch_C.mp4](https://archive.blender.org/developer/F10935356/red_line_bug_catch_C.mp4)
Author

Added subscriber: @juang3d

Added subscriber: @juang3d

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Thanks for the report, I can confirm.

Thanks for the report, I can confirm.

Added subscriber: @Jarrett-Johnson

Added subscriber: @Jarrett-Johnson
Member

Added subscriber: @JacquesLucke

Added subscriber: @JacquesLucke
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jacques Lucke self-assigned this 2021-10-27 13:25:29 +02:00
Member

This was fixed a while ago.

Probably by 4682aad432 or a similar commit.

I appreciate you take the time to record a video like this, but it would be nice if you could try to keep it even shorter. There is no need to show all the ways that do work. Better just get straight to the point and show what's wrong. Thanks :)

This was fixed a while ago. Probably by 4682aad432 or a similar commit. I appreciate you take the time to record a video like this, but it would be nice if you could try to keep it even shorter. There is no need to show all the ways that do work. Better just get straight to the point and show what's wrong. Thanks :)
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
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#92087
No description provided.