Skip to content

UILineConnector point array calculation#495

Merged
SimonDarksideJ merged 1 commit into
Unity-UI-Extensions:developmentfrom
Dover8:feature/UILineConnectorPointFix
Nov 27, 2025
Merged

UILineConnector point array calculation#495
SimonDarksideJ merged 1 commit into
Unity-UI-Extensions:developmentfrom
Dover8:feature/UILineConnectorPointFix

Conversation

@Dover8

@Dover8 Dover8 commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

Unity UI Extensions - Pull Request

Overview

In #480 the check for a change in length of transforms in a Line Connector was changed, resulting in the UILineRenderer not being updated when new points were added to the UILineConnector. This PR restores that check.

Changes

Changed UILineConnector to CalculateLinePoints when the array size changes

Breaking Changes

  • None

Related Submodule Changes

  • None

Testing status

  • No tests have been added.

Manual testing status

I've tested this both in an empty project with UI Extensions library in an empty scene, and in my working project that uses this setup to create an animation curve editor.

In Unity-UI-Extensions#480 the check for a change in length of transforms in a Line Connector was changed, resulting in the UILineRenderer not being updated when new points were added to the UILineConnector. This PR restores that check.
@SimonDarksideJ

Copy link
Copy Markdown
Contributor

Thanks for the fix!

@SimonDarksideJ SimonDarksideJ merged commit e445537 into Unity-UI-Extensions:development Nov 27, 2025
1 of 5 checks passed
SimonDarksideJ added a commit that referenced this pull request Jun 19, 2026
* Optimize 'Gradient2' 'when 'ModifyMesh' called
* fix radial triangle add order(#384)
* Keep Item Rotation configuration.
* UILineConnector point array calculation
* add refresh on change in global scale change
* force ScrollRect.content setup (#485)
* Compile flag support for Unity6 (#493)
* Update CardPopup2D.cs
* add support for Unity 6 api
* Gradient2.ModifyMesh - Modify Mesh should respond to gradient key updates in inspector and runtime
* UILineConnector point array calculation (#495)
* Disabiling automatic automation until actions can be updated (known issue due to changes in Unity)
* Initial check-in for Unity 6 update - thank you Unity for continuing to support Unity UI (#497)
* Unity 6 script clean-up (remove legacy dependencies)
* Update package definition for Unity 6 focus
* Update examples checkout
* Updated Picker control and samples to latest
* Update UIVertical Scroller to be more efficient for U6 and update example
* Clear out old text controls, no longer valid. Update combobox scripts
* Reverted Curly Text back to old Text component as it is not compatible with TextMeshPro - will investigate alternatives
* Pivot can now be used as reference point when drawing lines (#490)
* Removed cap points as they caused lod and jagged-texture issues
* Feature/unity6 (#521)
* Added GridRawImage & UI_Knob2
* UISegmentedCIrcle control
* Added UI Graphic Selector
* Renamed Segment to SegmentedControlSegment:
* Addressed NRE in Reorderable List
* Patch debug option to allow both Text and TMPro
* Update layout groups to rebuild on disable/enable - Resolves: #468
* Resolved stacking issue with the Reorderable list when moving the elements "slightly" - Resolves #470
* Added a close line option which finished the line off with a "closer" to fill any gaps at the end - Resolves: #449
* Resolved race condition issue in regards to the ScrollSnap control which could raise a NaN error when lerping - Resolves: #452 / #508
* Patch the HSS/VSS against a potential divide by zero error is the scroll snap has a single page
* Update GetCurrentPage to be more resilient - Fixes #254
* Resolve out of bounds issues with the Infinite scroll control - Fixes #237
* Updated UI Particle system to address #486/#487 requiring a new "CullingMode" option that when enabled alters the control to resolve unscaleddeltatime - Fixes #486, #487
* Patch for #477 plus some general housekeeping for maintaining TMPro/Text compatibility
* Update SegmentedCircle controls with new meta files and update examples checkout
* Update scrollsnap to be more resilient to rescaling and patch full screen scroll snap RIF - Fixes #257, #260
* Address layout issues with the flow layout group - Fixes #456
* Remove unused variable in UITextureLineRenderer
* Patch GridRawImage for editor and update automation steps

---------


Co-authored-by: Pontus Andersson <pontus.andersson1@live.se>
Co-authored-by: bluefallsky <bluefallsky@naver.com>
Co-authored-by: JavierMonton <jmlarraz@gmail.com>
Co-authored-by: hugoymh <hugoymh@gmail.com>
Co-authored-by: hugoymh <34024260+hugoymh@users.noreply.github.com>
Co-authored-by: Ben MacKinnon <bilmackinnon@googlemail.com>
Co-authored-by: Pontus Andersson <pontande@gmail.com>
Co-authored-by: Pontus Andersson <pontus.andersson1@live.se>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants