Commit Graph

57 Commits

Author SHA1 Message Date
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
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
141022caf8 Add tooltips to actors in scene tree and to properties General panel header
#182
2021-12-09 17:10:34 +01:00
Wojtek Figat
6dfedd219b Minor improvements and fixes for Editor 2021-11-04 15:59:06 +01:00
Wojtek Figat
0aa9c865ca Fix renaming selected actor in scene tree after creation and use editor shortcut 2021-06-01 21:10:57 +02:00
Wojtek Figat
2c7d62bb8e Add support for custom drag&drop into level/prefab viewports from custom asset items 2021-05-24 18:34:19 +02:00
Wojtek Figat
c78fb7995e Add more indentation to scene tree items to make it more readable 2021-05-23 12:09:35 +02:00
Wojtek Figat
5f851d2433 Fix reparenting actors in editor to preserve world position
#500
2021-05-14 13:01:25 +02:00
Wojtek Figat
c2afe0b6b2 Fix synchronizing ActorTreeNode order after actor duplicate
#487
2021-04-29 15:22:10 +02:00