Commit Graph

4180 Commits

Author SHA1 Message Date
Nils Hausfeld
4bf46c3af3 - More cleanup and comments 2023-09-29 17:19:38 +02:00
Nils Hausfeld
a4970b7fce - Group names now get filtered again (currently doing a second filtering pass through the items)
- More cleanup
2023-09-29 16:25:34 +02:00
Edu Garcia
8cdd026826 Merge branch 'FlaxEngine:master' into renameNewActor 2023-09-29 15:04:23 +01:00
Luke Schneider
b7b8213179 Some additional fixes to light theme support
Fixed some issues with light theme support:

1) Icons in content tree nodes (Folder icons) now use the foreground color.  I did not find a case where the content tree is used for other icons.

2) The asset picker now uses the Background Normal color (instead of a very transparent dark gray) for the background, and Orange for the text.  Did not seem like it warranted adding a new color, and Orange works in both dark and light styles.

3) The platform selector icons are now hard-coded instead of based on the style.  This may sound odd, but the icons are colored, so they should always use White as the fully active color.  Previously they worked with a dark theme because the Foreground was set to white.

4) Fixed the CollectionBackgroundColor in the light theme being dark gray instead of light gray like it should be.  This fixes certain lists of things having a dark background in the light theme.
2023-09-29 07:43:59 -05:00
Chandler Cox
8f5af2e149 Fix bool editor when null. 2023-09-28 19:49:59 -05:00
Ruan Lucas
bb54229760 Simplify code 2023-09-28 20:13:57 -04:00
Chandler Cox
9975bde78c Change output window search and scroll bars to be like other windows. 2023-09-28 19:09:02 -05:00
Edu Garcia
6d3fdeec8a Rename new actor after creating it 2023-09-28 22:50:07 +01:00
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
Menotdan
081ef1fd81 More debug draws. It seems to be showing some weird issues with leftWidth/rightWidth size. 2023-09-25 14:20:35 -04: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