Node editor: After cutting the node to Alt, the nodes are still moving apart #100958

Closed
opened 2022-09-10 07:58:58 +02:00 by Iliya Katushenock · 8 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49

Blender Version
Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-09 00:25, hash: 81558783e4
Worked: (newest version of Blender that worked as expected)

Short description of error
2022-09-10 08-57-53.mp4

**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 496.49 **Blender Version** Broken: version: 3.4.0 Alpha, branch: master, commit date: 2022-09-09 00:25, hash: `81558783e4` Worked: (newest version of Blender that worked as expected) **Short description of error** [2022-09-10 08-57-53.mp4](https://archive.blender.org/developer/F13475644/2022-09-10_08-57-53.mp4)
Author
Member

Added subscriber: @mod_moder

Added subscriber: @mod_moder
Member

Added subscriber: @lone_noel

Added subscriber: @lone_noel
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I was able to reproduce this with an older build but it's fixed for me by this revert dc937c5aee. Can you confim that?


I agree that this and #100959 are probably related.

In e3ef6a6660 it was returning early with OPERATOR_CANCELLED, when no frame node was found (before it would always return OPERATOR_FINISHED). I assume that cancels the whole NODE_OT_translate_attach macro so it never gets to the NODE_OT_insert_offset operator which frees the NodeInsertOfsData.

The not freed NodeInsertOfsData then causes the auto-offset, when NODE_OT_move_detach_links is used to detach the links, since it also invokes NODE_OT_insert_offset.

I was able to reproduce this with an older build but it's fixed for me by this revert dc937c5aee. Can you confim that? --- I agree that this and #100959 are probably related. In e3ef6a6660 it was returning early with `OPERATOR_CANCELLED`, when no frame node was found (before it would always return `OPERATOR_FINISHED`). I assume that cancels the whole `NODE_OT_translate_attach` macro so it never gets to the `NODE_OT_insert_offset` operator which frees the `NodeInsertOfsData`. The not freed `NodeInsertOfsData` then causes the auto-offset, when `NODE_OT_move_detach_links` is used to detach the links, since it also invokes `NODE_OT_insert_offset`.
Author
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Author
Member

This happened to me in 1 assembly, rolled today at 3 am
Later, when I was looking for a memory leak, I downloaded a new version (~11 hours) and it no longer there

Yes, I noticed that if I drag the return node and hold Alt, immediately taking the 2nd node, a strange state occurs and now the nodes align incorrectly

This happened to me in 1 assembly, rolled today at 3 am Later, when I was looking for a memory leak, I downloaded a new version (~11 hours) and it no longer there Yes, I noticed that if I drag the return node and hold Alt, immediately taking the 2nd node, a strange state occurs and now the nodes align incorrectly
Author
Member

Oops, I accidentally changed the status, sorry

(This site may retain the selected feature even after a reboot. I forgot and didn't notice that it was chosen)

Oops, I accidentally changed the status, sorry (This site may retain the selected feature even after a reboot. I forgot and didn't notice that it was chosen)
Author
Member

Although, I think, if this was present only in the version that was at night, and in the current master it is no longer there, then okay

But at the expense of the leak, it was in a later build

Although, I think, if this was present only in the version that was at night, and in the current master it is no longer there, then okay But at the expense of the leak, it was in a later build
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
2 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#100958
No description provided.