Commit Graph

66 Commits

Author SHA1 Message Date
Chandler Cox
2452face38 Add set order in parent for spawning actor with a parent in editor. 2025-04-07 21:10:36 -05:00
Wojtek Figat
9c3fd052cd Remove copyright year from source files and update to 2025 2025-04-07 19:22:21 +02:00
xxSeys1
862c2db11a fix some typos 2025-03-11 21:18:23 +01:00
Chandler Cox
7a83bce996 Add using c: in search filtering to find control types. 2025-03-10 12:46:30 -05:00
Wojtek Figat
fc4b79239b Refactor new scene tree double click feature to support both prefab and scene editing
#1502
2025-02-23 21:23:09 +01:00
Chandler Cox
f9e125f795 Select dropped actors that are reparented. 2024-12-03 17:59:30 -06:00
Chandler Cox
0d42b6d7ee Add actor type and script type to search filters. 2024-07-30 21:41:50 -05:00
Chandler Cox
f22105c2c3 Allow adding script via drag drop 2024-05-10 16:58:40 -05:00
Chandler Cox
3c487dff47 Trim actor name on rename. 2024-05-01 12:01:01 -05:00
Chandler Cox
18660140b0 Add controls to the ActorToolbox in the GUI tab. Add dragging and dropping controls from toolbox into scene and prefab trees. 2024-04-27 15:55:25 -05:00
Wojtek Figat
2c1b2d2b7c Optimize ActorTreeNode reparent when it's not collapsed but one of the parents is 2024-04-25 18:01:06 +02:00
4dcdd8b5f7 Add Actor.HasScene and Script.HasScene
Useful in managed code to check the existence of the scene in hot paths
by avoiding expensive marshalling of the Scene object.
2024-04-20 20:58:55 +03:00
Wojtek Figat
c561d684eb Refactor undo logic for actors reparenting in Editor
#1741
2024-03-06 19:01:36 +01:00
Wojtek Figat
859c420d76 Update year in copyright note 2024-02-26 19:00:48 +01:00
Wojtek Figat
9a21cfd092 Fix transform scaling applying to nested objects when drawing
#1796 #1350
2024-02-20 23:55:06 +01:00
Wojtek Figat
85c7357b25 Merge branch 'fix-prefab-trans' of https://github.com/Tryibion/FlaxEngine into Tryibion-fix-prefab-trans 2024-02-20 10:53:47 +01:00
Wojtek Figat
b2d0afd4ef Simplify code in #2202 for script type searching 2024-02-06 11:09:08 +01:00
Chandler Cox
b85f471fcb Add drag cleanup on destroy. 2024-01-23 08:59:27 -06:00
Chandler Cox
f306d34a6e Add drag drop for actor script items into scenes and prefabs. 2024-01-23 08:34:15 -06:00
Chandler Cox
0eb4e0205e Better fix 2024-01-12 19:43:58 -06:00
Chandler Cox
2935b8ba10 Fix prefab transform on drag drop with parent. #1749 2024-01-12 19:12:48 -06:00
Wojtek Figat
b297b9f185 Fix not supported dragging prefab actors between windows
#2065
2023-12-12 18:59:52 +01:00
Wojtek Figat
5575917c4b Fix prefab window performance with large hierarchies 2023-12-05 23:44:45 +01:00
Wojtek Figat
585b6bacad Simplify #1807 2023-11-04 19:26:46 +01:00
Chandler Cox
8c6ced4bb9 Limit the scene tree and prefab tree rename popup to only go to panel right edge. 2023-10-25 11:38:14 -05:00
MineBill
2f3685c161 Use PrefabObjectID when setting/getting the actor expanded value for prefabs. 2023-10-19 18:43:13 +03:00
Wojtek Figat
5cf1d2b46e Code format 2023-10-06 17:06:17 +02:00
Wojtek Figat
716e643f2a Fix applying prefab changes to nesting prefab instances
#1256
2023-09-10 21:07:41 +02:00
Wojtek Figat
8f7da81621 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Flax.flaxproj
#	Source/Editor/Content/Items/AssetItem.cs
2023-06-13 15:41:07 +02:00
Wojtek Figat
37bf4bb34f Unify all GetActorsTree usages in Editor 2023-06-12 18:25:44 +02:00
Wojtek Figat
1dd8aa3db8 Merge remote-tracking branch 'origin/master' into 1.6 2023-05-12 18:43:03 +02:00
Wojtek Figat
1af69421fa Fix actor scene tree dragging regression from d813078e91
#1104
2023-05-12 18:41:58 +02:00
Wojtek Figat
5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
Wojtek Figat
3a3e8e2ad5 Fix actors spawning in prefab editor 2023-05-05 14:18:32 +02:00
Wojtek Figat
390460907d Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/Scripting/CodeEditors/VisualStudioCodeEditor.cpp
#	Source/Tools/Flax.Build/Deps/Dependencies/OpenAL.cs
2023-04-22 18:59:41 +02:00
Chandler Cox
be204fd2f5 Ensure prefab actors static flags match parent flags or keeps it's own. 2023-04-19 14:05:51 -05:00
Chandler Cox
3792aa1984 Add select actor on script drop, Fix dragging asset into scene tree between nodes. 2023-04-17 17:31:21 -05:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
Chandler Cox
62a335fab0 Fix bug of re-parenting actors if children and parent actors are selected 2023-04-14 13:34:43 -05:00
Chandler Cox
d813078e91 Made it so the visuals of dragging an actor will only show between the nodes and on the node. 2023-04-14 12:55:40 -05: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
8762e8ad15 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/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
Chandler Cox
ad0aadbf29 Changed location of renaming box for ActorTreeNodes to start at the label for better UX. 2022-12-08 16:06:39 -06:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Wojciech Figat
996d38b61d Add scripts dragging support to scene tree for reparenting 2022-11-04 12:49:46 +01:00
Chandler Cox
40a04bc5d6 Various fixes to prefab tree view. Scrolling like scene view, disable scrolling on renaming, can open CM anywhere in tree panel. 2022-10-29 09:14:08 -05:00
Wojtek Figat
b0f4f8d636 Code style fix 2022-10-12 18:55:24 +02:00
Chandler Cox
95e60ea68e Added scene panel to seperate the tree from the search bar and made the tree not able to scroll when renaming 2022-10-10 15:38:30 -05:00