o3de icon indicating copy to clipboard operation
o3de copied to clipboard

Nodes are always duplicated with Shown Unused Slots

Open LB-KacperSzczepanski opened this issue 2 years ago • 1 comments

Describe the bug Duplicating or pasting nodes within the Editor tools (Material Canvas, Landscape Canvas and Script Canvas) causes an issue. When an original node with a Hidden Unused Slots is duplicated or pasted, the new node has all its slots shown. This issue is related to recent commit - #2825248.

Steps to reproduce Steps to reproduce the behavior:

  1. Open any canvas tool.
  2. Create a new canvas.
  3. Create a node.
  4. Click on created node with the right mouse button and select the Hide Unused Slots option from the dropdown menu.
  5. Duplicate or copy and paste the selected node.

Expected behavior The duplicated node is identical to the original with its unused slots hidden.

Actual behavior The duplicated node has its unused slots shown.

Video

https://user-images.githubusercontent.com/86953282/197785932-faeeba90-8aaa-4a3f-89c5-c05acd15299e.mp4

Found in Branch Development (95e4836)

Desktop/Device: • Device: PC • OS: Windows • Version: 10 Pro • CPU: Intel Core i7 11700F • GPU: Nvidia RTX 3070 LHR • Memory: 32GB

LB-KacperSzczepanski avatar Oct 25 '22 13:10 LB-KacperSzczepanski

The PR that I posted was specific to material canvas and slots that are configured to be hidden on the node UI but still show up in the inspector. This is different than the user hiding unused slots from the context menu.

gadams3 avatar Oct 25 '22 13:10 gadams3