Commit Graph

2598 Commits

Author SHA1 Message Date
Nils Hausfeld
84b240216f - Implemented context sensitive toggle functionality
- Item list now updates on the fly when toggleing context sensitivity
- Added profiling
- Fixed a highlighting bug
- Minor cleanup
2023-09-28 21:31:58 +02:00
Chandler Cox
137951201d Refactor to use Camera Node. 2023-09-28 14:09:08 -05:00
58445f04c4 Fix potential incorrect null checks in FlaxEngine.Objects
The null-conditional operator checks for reference equality of the
Object, but doesn't check the validity of the unmanaged pointer. This
check is corrected in cases where the object was not immediately
returned from the bindings layer and may have been destroyed earlier.
2023-09-28 22:05:58 +03:00
ea201b6173 Fix null check in SceneAnimationWindow
The null-conditional operator checks for reference equality of the
Object, but doesn't check the unmanaged pointer validity.
2023-09-28 22:05:17 +03:00
Nils Hausfeld
b96098e555 Merge branch 'master' into Visject-ContextSensitiveNodes 2023-09-28 20:59:59 +02:00
Nils Hausfeld
9acee40746 - Added context sensitive toggle gui 2023-09-28 20:53:47 +02:00
Wojtek Figat
58b9d76d24 Merge remote-tracking branch 'origin/master' into 1.7
# Conflicts:
#	Source/Editor/Viewport/PrefabWindowViewport.cs
#	Source/Engine/Physics/PhysX/SimulationEventCallbackPhysX.cpp
2023-09-28 20:42:54 +02:00
Wojtek Figat
983694eb4f Merge branch 'prevent-full-desktop' of https://github.com/Tryibion/FlaxEngine into Tryibion-prevent-full-desktop 2023-09-28 20:34:12 +02:00
Wojtek Figat
481bbd3a77 Merge branch 'editor_bindings' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-editor_bindings 2023-09-28 20:17:35 +02:00
Wojtek Figat
9ad607c054 Merge branch 'editor-options-save-popup' of https://github.com/Tryibion/FlaxEngine into Tryibion-editor-options-save-popup 2023-09-28 19:58:24 +02:00
Luke Schneider
ad28a3fdbf Better light theme (Style) support, and a Default light theme (as a secondary option)
1) Added ForegroundViewport as a new color.  It is used in the main game viewport (ViewportWidgetButton), and the viewport for rendering of particles and materials.  It is needed because the default foreground in a Light theme is black, but black does not work well in a viewport.  A new color seemed appropriate.

2) Fixed the profiler window to use the Foreground color in multiple text elements, instead of Color.White (or no default TitleColor).  This includes  the Row class, Asset class, SingleChart class, Timeline Class, and more.

3) Added a second theme/Style (DefaultLight) to include with the engine.  It uses RGB float values because those were easier to transfer from the saved values that I had created (and they're easier for me to edit if necessary).  I tried to emulate how the Default theme is created/loaded/etc as closely as possible.
2023-09-27 21:54:34 -05:00
Nils Hausfeld
155d11c07b - Filtering now also applies when dragging a connection from an input port 2023-09-27 19:28:06 +02:00
Nils Hausfeld
98e9c75cb8 Merge branch 'master' into Visject-ContextSensitiveNodes 2023-09-27 18:52:59 +02:00
Wojtek Figat
2f9c601678 Merge remote-tracking branch 'origin/master' into 1.7 2023-09-27 17:32:47 +02:00
Nils Hausfeld
63c213aec0 - Support for Impulse ports 2023-09-27 17:04:35 +02:00
Nils Hausfeld
c4da34a463 - Implemented function node and bind/unbind node compatiblility/filtering
- Added NodeTypeHint enum
2023-09-27 16:24:33 +02:00
Wojtek Figat
44292efa04 Fix editing array of tags in Editor that is null initially
#1451
2023-09-27 13:38:03 +02:00
Wojtek Figat
75711a16bc Merge branch 'fix/editor-window-closing-during-camera-flight' of https://github.com/solnem/FlaxEngine into solnem-fix/editor-window-closing-during-camera-flight 2023-09-27 13:18:10 +02:00
Wojtek Figat
b00156f519 Add some improvements to particles editing
#1395
2023-09-27 13:04:44 +02:00
Nils Hausfeld
be944e35a5 Merge branch 'master' into Visject-ContextSensitiveNodes 2023-09-27 12:48:07 +02:00
Wojtek Figat
6621e70ae7 Add objects replication and RPC stats table to Network Profiler 2023-09-26 10:33:12 +02:00
Nils Hausfeld
d8e2b06c38 - Minor cleanup 2023-09-25 23:26:33 +02:00
ontrigger
6a62dac49b remove usages of SmoothingScale across the codebase 2023-09-25 23:29:29 +03:00
Nils Hausfeld
3b393ef4db Groups now get filtered by box type when added after the context menu was opened 2023-09-25 22:07:50 +02:00
Christopher Rothert
5ced9453d4 Fix editor window closing when using RMB + Ctrl + W for slow camera flight 2023-09-25 22:03:40 +02:00
Nils Hausfeld
33c51d0a8e - Filtering is functioning now for all default groups 2023-09-25 19:10:05 +02:00
Chandler Cox
fd3a5c55e1 Simplify code 2023-09-25 11:50:04 -05:00
Chandler Cox
5eff51d47e Add button to position camera to editor viewport view. 2023-09-25 11:46:37 -05:00
Wojtek Figat
da47088250 Add conditional profiling in Editor (run only when using Profiler window) 2023-09-25 18:34:07 +02:00
Wojtek Figat
216a5e9f92 Add support for displaying all active Network Peer stats in Editor Profiler tab 2023-09-25 16:49:18 +02:00
Wojtek Figat
cfd53eea60 Merge branch 'npute-editor-improve' of https://github.com/Tryibion/FlaxEngine into Tryibion-npute-editor-improve 2023-09-25 15:47:38 +02:00
Wojtek Figat
212a2e1ded Format code from recent PRs 2023-09-25 15:42:23 +02:00
Wojtek Figat
c46ec41f6f Merge branch 'MMB_Pan' of https://github.com/Radiangames/FlaxEngine into Radiangames-MMB_Pan 2023-09-25 15:40:19 +02:00
Wojtek Figat
90a4fba767 Improve #1490 performance to use Ordinal string comparision and just check for extension on some generated files 2023-09-25 15:39:00 +02:00
Wojtek Figat
8ac23e556a Merge branch 'gen-file-filter' of https://github.com/Tryibion/FlaxEngine into Tryibion-gen-file-filter 2023-09-25 15:37:11 +02:00
Wojtek Figat
b2ec235f01 Minor tweaks 2023-09-25 11:00:49 +02:00
Nils Hausfeld
50ebd5cb87 - Fixed massive UI freeze because of perform layout oversight 2023-09-24 20:31:22 +02:00
Nils Hausfeld
8d39d51f90 - Added profiling 2023-09-24 20:22:44 +02:00
Nils Hausfeld
038a3603e4 - Possible nodes get filtered now depending on the available node ports 2023-09-24 19:33:03 +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
Ruan Lucas
1e3debf1ec Remake #1413 2023-09-24 11:37:14 -04:00
Wojtek Figat
15b1e0a984 Minor fixes 2023-09-24 13:20:19 +02:00
Nils Hausfeld
b6ad252305 - Removed unnecessary null-conditional operator
- Removed unnecessary Float2 allocation
2023-09-23 19:14:06 +02:00
080091c271 Fix missing bindings for Actor related actions 2023-09-23 15:35:55 +03:00
385c3541c9 Apply global editor bindings in most windows 2023-09-23 15:23:09 +03:00
52cf4df641 Add input bindings for File menu actions 2023-09-23 15:23:09 +03:00
a1cbaba743 Add Editor input bindings for Profiler window and Profiler actions 2023-09-23 15:23:09 +03:00
8ed57863b8 Add Editor input bindings for Tools menu items 2023-09-23 15:23:09 +03:00
efbc757369 Cancel camera rotation toggle when entering playmode or hitting escape 2023-09-23 15:23:08 +03:00
2023aa8c94 Add viewport camera movement speed adjustment input bindings 2023-09-23 15:23:08 +03:00