Commit Graph

80 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
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
Wojtek Figat
87e2c4c4d5 Merge remote-tracking branch 'origin/master' into 1.11
# Conflicts:
#	Content/Editor/DebugMaterials/DDGIDebugProbes.flax
#	Source/Editor/Windows/OutputLogWindow.cs
#	Source/Engine/Level/Actor.cpp
2025-09-24 18:18:27 +02:00
Wojtek Figat
9646dd3fc2 Fix AutoFocus on ContainerControl to be false by default 2025-07-15 12:33:33 +02:00
xxSeys1
92edb996f2 properly handle connecting to a box that already has a connection 2025-06-14 17:20:28 +02:00
xxSeys1
f40c67ddf0 add support to move visject socket connections 2025-06-13 22:05:57 +02:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
Wojtek Figat
0046cbe0ef Fix regression in using per-component input fields in Visject nodes values editing 2025-03-30 20:54:32 +02:00
Wojtek Figat
f94543aac8 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Flax.flaxproj
2025-03-26 19:48:47 +01:00
Wojtek Figat
6a4078c589 Fix displaying double vectors in Visject constant fields
#3314
2025-03-26 17:26:01 +01:00
Muzz
7885590593 Merge branch 'Muzz-Triplanar-Features' into 1.10 2025-02-28 14:56:45 +01: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
Wojtek Figat
2d2841d59e Merge branch 'Visject-ConnectionImprovements' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-ConnectionImprovements 2024-06-03 14:17:11 +02:00
Wojtek Figat
f51a442357 Fix crash when using content search in Visject surface 2024-06-03 10:54:22 +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
c6017a21f3 Fix constant value sliders in material graphs to not be used due to shader compilations 2023-11-28 23:19:47 +01:00
MineBill
df5dc0c284 Extract validation/item handling of AssetPicker in a separate class. 2023-10-31 16:32:57 +02:00
Wojtek Figat
09f2be907e Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Flax.flaxproj
2023-10-09 12:40:47 +02:00
Wojtek Figat
ae308ab27a Minor code cleanup #1619 2023-10-06 15:25:25 +02:00
Nils Hausfeld
dc6a2d4d25 - Cleanup and comments 2023-10-05 18:11:08 +02:00
Nils Hausfeld
d7ade326a9 - Implemented automatic casting to visject 2023-10-05 18:04:55 +02: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
2e6fa8fc25 Merge branch 'Visject-ContextSensitiveNodes' of https://github.com/Chikinsupu/FlaxEngine into Chikinsupu-Visject-ContextSensitiveNodes 2023-10-04 22:15:31 +02:00
Wojtek Figat
dd21020297 Merge remote-tracking branch 'origin/master' into 1.7 2023-10-01 13:17:41 +02:00
Nils Hausfeld
b5dc916568 - Moved ScriptType casting check from Box to ScriptType class
- Even more cleanup and comments, wowzers
2023-09-29 17:44:31 +02:00
Nils Hausfeld
4bf46c3af3 - More cleanup and comments 2023-09-29 17:19:38 +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
Wojtek Figat
81ae687238 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-28 16:34:38 +02:00
Wojtek Figat
62946f6359 Cleanup and improve code from #1109 2023-05-28 16:12:32 +02:00
Wojtek Figat
4755c42d70 Fix .NET generic class typename to match old mono style without inlined assembly name and ver 2023-03-27 17:30:48 +02:00
Wojciech Figat
a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
9554636971 Add bigger input value boxes to Visject Surface 2023-01-01 18:30:15 +01:00
Wojtek Figat
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
Wojtek Figat
d77a7921b0 Refactor Visject reroute node to support reconnecting and have more usability 2022-07-19 23:06:24 +02:00
Wojtek Figat
9f7f764359 Format code 2022-07-18 22:38:01 +02:00
Wojtek Figat
9ff0ad4734 Fix order of Large Worlds Real using 2022-07-18 20:20:12 +02:00