Commit Graph

76 Commits

Author SHA1 Message Date
mafiesto4 42ec33bd9a Fix auto-sizing nodes with hidden default value fields (eg, comparison node)
#3540
2026-04-01 16:25:33 +02:00
mafiesto4 f1796dc8c8 Fix and improve layout of various Visject nodes and elements
#3866
2026-04-01 09:49:29 +02:00
mafiesto4 ebb4ff1dc2 Move UseFixedSize property from node archetype to flags and optimize unnecessary layouts during node loading
#3866
2026-03-31 22:47:10 +02:00
Saas f26dbf530c fix skeleton blend mask node to resize when asset reference is (dis-) connected 2026-03-28 13:47:14 +01:00
Saas a1af870874 fix surface elements resizing the node 2026-03-20 19:01:52 +01:00
Saas d5d10aa329 fix handling controls during resizing 2026-03-15 19:53:09 +01:00
Saas 5655cc8f42 account for surface node elements when auto resizing 2026-03-15 16:59:09 +01:00
Saas 0237235dcb draw close button using Render2D to make it look good even when zoomed in a lot 2026-03-15 14:41:50 +01:00
Saas f2a13b64d4 fix reroute node output box moving on connection change 2026-03-14 19:00:12 +01:00
Saas 60076d48c7 fix box alignment for nodes with fixed size and adjust some node sizes 2026-03-14 16:38:56 +01:00
Saas e008c7e2b4 fix behavior tree nodes 2026-03-14 14:20:00 +01:00
Saas d3891688f0 fix boxes positioning and remove unused constants 2026-03-13 21:59:53 +01:00
Saas 23c3edcab9 small cleanup 2026-03-04 23:37:33 +01:00
Saas 2c98d80506 fix node auto resizing 2026-03-04 23:15:09 +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 31b1ceb9f0 increase selection outline width 2025-12-18 19:57:58 +01:00
Saas d3d67fddcc add node shadow
- rectangular shadow (can be disabled...)
- ... for example for nodes with more complex shapes like reroute
2025-12-18 19:54:31 +01:00
Saas b714668f4c improve visject graph readability
- Separate size for boxes (the circle thingie to connect to) and box rows
- Smaller boxes (circle thingie)
- Smaller footer
- Smaller and color header
- Left align header text
- Replace background with solid color
- Adjust node `ArchetypeColor`s (former `FooterColor`) to keep header title readable over colored header
2025-12-17 18:54:37 +01:00
mafiesto4 ed408917c6 Fix Visject Surface node dependent connection types init on load
#3802
2025-11-18 16:41:24 +01:00
mafiesto4 7c87ade12b Merge branch 'visjectPanOnNode' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-visjectPanOnNode 2025-09-30 15:51:17 +02:00
mafiesto4 d1a99c9396 Merge branch 'moveVisjectConnection' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-moveVisjectConnection
# Conflicts:
#	Source/Editor/Surface/VisjectSurface.cs
2025-09-22 22:30:26 +02:00
mafiesto4 37b4b25ead Merge branch 'VisjectConnectionCmPolish' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-VisjectConnectionCmPolish 2025-07-01 16:06:13 +02:00
xxSeys1 47e1547d29 improve behaviour of visject node cm menu 2025-06-12 18:12:06 +02:00
xxSeys1 214ec9f2b1 fix node delete button not checking if the user is performing certain actions on the surface before deleting node 2025-06-12 00:49:39 +02:00
mafiesto4 89baa91552 Don't sue 2025-06-01 09:20:11 +02:00
mafiesto4 9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
mafiesto4 ed3ec55561 Add Visject per-node custom search and use it for Multi Blend nodes to filter animations used 2025-03-31 14:12:32 +02:00
mafiesto4 2288684950 Fix pasting or duplicating Multi Blend nodes 2024-10-29 23:08:50 +01:00
xxSeys1 e665cc7500 add safe margin
4 pixels seemed a bit much, smaller adjustments could lead to the menu still showing
2024-09-16 15:43:46 +02:00
xxSeys1 0a516ac98d make it possible to pan editor when rmb down on node 2024-09-14 15:33:07 +02:00
mafiesto4 12c9ae1490 Add surface nodes size snapping when using grid
#1456
2024-09-11 20:24:19 +02:00
mafiesto4 bbb0d36494 Fixed issues found by PVS-Studio 2024-09-09 18:21:59 +02:00
Nils Hausfeld a808ac5dc8 - Added descriptions to Bitwise OR, XOR
- Added description to Boolean XOR, NOR, NAND and updated AND, OR
- Minor tooltip text fix
2024-06-18 19:44:07 +02:00
Nils Hausfeld 4abe8587f3 - Fixed some tooltip regressions
- Defined signatures where necessary
2024-06-16 13:37:03 +02:00
Nils Hausfeld bd06ed9c14 - Archetypes now fetch signature and description independently
- Added larger label for signature to description panel
2024-06-09 23:42:48 +02:00
mafiesto4 d8a1de64d1 Fix surface node moving regression from f19977a956
#2466
2024-04-22 22:56:01 +02:00
mafiesto4 f19977a956 Fix surface node context menu to not show when moving surface
#2466
2024-04-22 19:03:40 +02:00
mafiesto4 7653fba381 Refactor Multi Blend nodes to support up to 255 blend points 2024-04-19 16:30:34 +02:00
mafiesto4 859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
mafiesto4 f0b5d3b838 Minor improvements 2023-09-19 21:37:24 +02:00
mafiesto4 2026c84baa Hide node close button when read-only (eg. play mode) 2023-08-24 16:56:28 +02:00
mafiesto4 5f581bf156 Add OnPasted to Visject Surface nodes for custom post-paste logic 2023-08-24 10:43:59 +02:00
mafiesto4 952fe61515 Add SurfaceNodeActions for more contextual surface nodes scripting 2023-08-24 10:43:22 +02:00
mafiesto4 60e5c5446c Add SealedNodes feature to Visject Surface nodes 2023-08-24 10:41:02 +02:00
mafiesto4 c58dc51291 Various improvements to Visject Surface 2023-08-24 10:12:40 +02:00
mafiesto4 19f14919c0 Allow modifying surface node archetype reference 2023-08-14 13:11:42 +02:00
mafiesto4 ae4bce7a68 Add Visject surface boxes and connections drawing customization via style 2023-08-13 19:14:23 +02:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
mafiesto4 f90808749e Add batching undo actions for Surface editing to prevent undo actions spam during a single edit 2022-07-19 23:07:18 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00