Commit Graph

29 Commits

Author SHA1 Message Date
Saas
d3891688f0 fix boxes positioning and remove unused constants 2026-03-13 21:59:53 +01:00
Saas
3279016067 tweak some node spacing 2025-12-20 20:39:54 +01:00
Saas
a98a76f6e5 fix box spacing and (auto calculate) node height
- Work in progress but enough progress to commit because it basically works, it's just a bit ugly
- Node height is now recalculated every time a new element is added to the node
- Introduced `Archetype.UseFixedSize` for special nodes like *Color Gradient* or *Curve* that must rely on hardcoded size for now because the auto sizing does not take elements like the gradient editor or curve editor into account (ideally in the future it will)
- Fixed input and output box spacing (still some 1px offsets that I'm unsure where they are from, could be placebo though)
2025-12-20 00:02:11 +01:00
Saas
cfda18ea9d propagate disabled node boxes across reroute nodes 2025-12-18 22:41:55 +01:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
xxSeys1
2b46f04baf Changed how thickness is calculated
Now works with the stuff done in #2671.
2024-06-03 23:25:54 +02:00
xxSeys1
106b48f4d5 Code style fixes
Changed two if statements to be single line.
2024-06-03 23:03:21 +02:00
xxSeys1
732b34d28b Draw impulse/ execution lines thicker than data ones
Slightly increases the thickness of impulse/ execution lines for node editors to make it easier for the user to follow execution flow (and indirectly also data flow)
2024-06-03 23:00:25 +02:00
Nils Hausfeld
0c50fa9816 - Implemented a connection line offset that increases the less curvature the line has
- Made connection lines a tiny bit thicker and added constants at the top of OutputBox to easily change the default style
2024-05-31 20:16:33 +02:00
Wojtek Figat
2f8428db1a Merge branch 'Visject-ConnectionCurvatureOption' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-ConnectionCurvatureOption 2024-05-30 12:11:40 +02:00
Nils Hausfeld
1729fe6993 - Added connection curvature to editor options 2024-05-26 21:41:59 +02:00
Nils Hausfeld
d47a191d5c - Added IsActive state to boxes
- Replaced box.enabled with box.isActive on some nodes
- Made connection lines draw with alpha when connected box is inactive
2024-05-24 22:26:20 +02:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
e6c45fccb3 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Engine/Level/Actors/AnimatedModel.cpp
2023-10-05 10:44:03 +02:00
Wojtek Figat
92f677f238 Codestyle formatting #1522 2023-10-04 22:25:27 +02:00
Wojtek Figat
dd21020297 Merge remote-tracking branch 'origin/master' into 1.7 2023-10-01 13:17:41 +02:00
Nils Hausfeld
0de31f630f - Moved control point calculation into its own function since multiple parts of the code depend on it
- 'DrawConnection' function now calls the control point calculation function
- 'IntersectsConnection' function now calls the control point calculation function
2023-09-24 18:40:34 +02:00
Nils Hausfeld
d0679c1f9b - Made Visject connection bezier curves bend around nodes 2023-09-22 15:28:46 +02:00
Wojtek Figat
50669a341d Improve connections drawing for BehaviorTree and AnimGraph 2023-08-26 09:38:33 +02:00
Wojtek Figat
ae4bce7a68 Add Visject surface boxes and connections drawing customization via style 2023-08-13 19:14:23 +02:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
stefnotch
f3c608f2f3 Improve arrow key navigation 2021-02-26 19:09:59 +01:00
stefnotch
9265f23681 Basic reroute nodes 2021-02-25 20:22:54 +01:00
stefnotch
bcc036f808 Hover over connections 2021-02-25 09:55:17 +01:00
stefnotch
1dbbbeced1 Specialized Visject Connection Broadphase Intersection 2021-02-24 21:05:10 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00