Commit Graph

289 Commits

Author SHA1 Message Date
Dan Oconnor
5fccb94243 Fix for crash caused by unprotected call to CancelDragDrop in SFortHUDWidget::ToggleCursorMode, plenty of ways to fix this, but fixing it down hear because 2433332 was the recent change that caused everything to fall apart.
[CL 2436256 by Dan Oconnor in Main branch]
2015-02-06 18:04:56 -05:00
Matthew Griffin
f967e4c395 [INTEGRATE] Change 2428748 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/02 17:04:30
Fixed being able to move components created in a blueprint.

	Introduced an FSelectedEditableComponentIterator to iterate over only the movable components

[CL 2435554 by Matthew Griffin in Main branch]
2015-02-06 11:50:34 -05:00
Matthew Griffin
63f47b1c03 [INTEGRATE] Change 2428391 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/02/02 13:30:39
Fixed crash in the light map res tool if the component is not part of the editor world.

[CL 2435519 by Matthew Griffin in Main branch]
2015-02-06 11:28:08 -05:00
Matthew Griffin
21e935902b [INTEGRATE] Change 2427157 by Chris.Gagnon@chris.gagnon_T4696 on 2015/01/31 15:14:04
Refactored component and actor renaming to work well and as the user expects from bor the viewport and the component tree. UE-8213
	#codereview micheal.noland

[CL 2435340 by Matthew Griffin in Main branch]
2015-02-06 09:33:06 -05:00
Matthew Griffin
412d0efe2a [INTEGRATE] Change 2427088 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/31 12:58:20
Show a warning when viewing blueprinted components. These components are read only and can only be modified in the blueprint editor

[CL 2435314 by Matthew Griffin in Main branch]
2015-02-06 09:18:48 -05:00
Matthew Griffin
535c699092 [INTEGRATE] Change 2427067 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/31 11:47:42
Renamed Scene Outliner to World Outliner in UI

[CL 2435285 by Matthew Griffin in Main branch]
2015-02-06 09:03:00 -05:00
Nick Darnell
f87bb41501 Editor - Adjusting the mouse capture tip to only ever be collapsed or hit test invisible. It was previously blocking clicks because the border was visible.
#codereview Dan.Hertzka

[CL 2434799 by Nick Darnell in Main branch]
2015-02-06 00:02:43 -05:00
Matthew Griffin
0a12bafeed [INTEGRATE] Change 2426108 by Dan.Hertzka@Dan.Hertzka_T4682_4010 on 2015/01/30 13:47:46
[UE-8152] - All previously existing drag-and-drop functionality now works with components in the world as follows:

	1. If multiple actors are selected and the drop is on one of the selected actors, the dropped object will be applied (if possible) to all components in each selected actor.
	2. If multiple components are selected and the drop is on one of the selected components, the dropped object will be applied (if possible) to all selected components.
	3. If the drop is onto a component that is not selected, it will apply only to that component.
	4. If the drop is onto a component within a selected actor, but only one actor is selected, same as #3.

	- Fixed crash when trying to apply material to non-existent slot when applying to multiple actors

[CL 2433465 by Matthew Griffin in Main branch]
2015-02-05 08:54:11 -05:00
Matthew Griffin
7e3e21ff99 [INTEGRATE] Change 2425683 by Nick.Darnell@Nick.Darnell_Dev on 2015/01/30 09:50:26
Editor - Fixing a bug where decorators dragged over the viewport that don't create something in the world (materials) are not properly restored when dragged out of the viewport.

[CL 2433332 by Matthew Griffin in Main branch]
2015-02-05 05:53:56 -05:00
Mikolaj Sieluzycki
fa01cacb6c Trim down the amount of UObject constructors.
#codereview Robert.Manuszewski

[CL 2429641 by Mikolaj Sieluzycki in Main branch]
2015-02-03 05:40:57 -05:00
Richard TalbotWatkin
2baeab665b Optimizations to details panel when there are many large array properties.
#jira UE-7808 - Editor slows exponentially when selecting an instanced static mesh in viewport that has a large number of instances

[CL 2427864 by Richard TalbotWatkin in Main branch]
2015-02-02 03:29:45 -05:00
Ben Marsh
e92876242a [INTEGRATE] Change 2424614 by Michael.Noland@mnoland-T2784-Reference on 2015/01/29 17:55:29
Editor: Got rid of some silly SAssignNew uses in the SSCSEditor creation

[CL 2425983 by Ben Marsh in Main branch]
2015-01-30 11:54:19 -05:00
Ben Marsh
0d7ecf5946 [INTEGRATE] Change 2424281 by Chris.Gagnon@chris.gagnon_T4696 on 2015/01/29 15:21:45
SCSEditor will no longer select a separator if right clicked.
	Fixed some code that wasn't filtering out separators from the selected nodes.
	Don't clear the selection in the SCSEditor unless we are actually going to remove a node, better handling of cosing the next note to select in the treeview when a delete occurs.

[CL 2425976 by Ben Marsh in Main branch]
2015-01-30 11:52:41 -05:00
Ben Marsh
fb55a069a9 [INTEGRATE] Change 2423965 by Marc.Audy@Marc.Audy_Z2487 on 2015/01/29 12:13:30
Make right-click on the root node in SCSEditor show Actor actions in LevelEditor and just the Component paste option in BlueprintEditor

[CL 2425968 by Ben Marsh in Main branch]
2015-01-30 11:51:24 -05:00
Ben Marsh
be3e0d6cd9 [INTEGRATE] Change 2422849 by Dan.Hertzka@Dan.Hertzka_T4682_4010 on 2015/01/28 16:56:45
[UE-8147] - Details window locks as before, updated work with the component tree
	- Once locked, can change component selection to update the details, but the level selection is not affected
	- After unlocking, any component selection will force the level selection to match

[CL 2425907 by Ben Marsh in Main branch]
2015-01-30 11:25:21 -05:00
Ben Marsh
af88cfd933 [INTEGRATE] Change 2421574 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_remote_releases on 2015/01/27 21:12:48
Disable editing of  components created by a construction script on an instance

[CL 2425799 by Ben Marsh in Main branch]
2015-01-30 10:37:32 -05:00
Ben Marsh
a346ea35a7 [INTEGRATE] Change 2421519 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_remote_releases on 2015/01/27 20:33:36
Fix not being able to redo component transactions in the scseditor.

	#codereview dan.hertzka

[CL 2425797 by Ben Marsh in Main branch]
2015-01-30 10:36:50 -05:00
Ben Marsh
27b46cef79 [INTEGRATE] Change 2420939 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/27 15:50:03
Enable snap to floor on components

[CL 2425790 by Ben Marsh in Main branch]
2015-01-30 10:34:15 -05:00
Ben Marsh
7190f09393 [INTEGRATE] Change 2420790 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/27 14:09:29
Tweak the size of the default content browser

[CL 2425772 by Ben Marsh in Main branch]
2015-01-30 10:28:54 -05:00
Ben Marsh
e4874a1b6e [INTEGRATE] Change 2420775 by Ben.Marsh@Ben.Marsh_T3245_Clean on 2015/01/27 14:02:15
Fix the build on Mac. !X==Y does not make sense.

	#codereview Dan.Hertzka

[CL 2425770 by Ben Marsh in Main branch]
2015-01-30 10:28:33 -05:00
Ben Marsh
b32f80c91b [INTEGRATE] Change 2420755 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/27 13:47:11
Prototype default layout

[CL 2425768 by Ben Marsh in Main branch]
2015-01-30 10:27:56 -05:00
Ben Marsh
63ea7b24bb [INTEGRATE] Change 2420726 by Jamie.Dale@Pitbull_JDaleReleases on 2015/01/27 13:34:50
Improved the validation when drag-and-dropping a class into the level viewport

	UE-7184 - Show game c++ classes and engine c++ classes in the content browser

	It now prevents the placement of non-placeable classes that have come from an asset or class drag (Content Browser or Class Viewer).

[CL 2425767 by Ben Marsh in Main branch]
2015-01-30 10:27:36 -05:00
Ben Marsh
7561c0df72 [INTEGRATE] Change 2420685 by Dan.Hertzka@Dan.Hertzka_T4682_4010 on 2015/01/27 13:15:05
[UE-8251] [UE-8216] - Can no longer have a component selected in addition to an actor that isn't the component owner
	- Fixed a number of undo issues with the new in-tree Actor root node
	- Fixed undo issue where going from select component->select different actor->undo would cause the different actor to incorrectly still be flagged as selected
	- Fixed component selection visualization undo issues (components were not being modified when override delegates were bound/unbound)

[CL 2425757 by Ben Marsh in Main branch]
2015-01-30 10:24:54 -05:00
Ben Marsh
f7f4c39f82 [INTEGRATE] Change 2420317 by Matt.Kuhlenschmidt@matt_kuhlenschmidt_main on 2015/01/27 09:56:06
Move SActorDetails to another file

[CL 2425727 by Ben Marsh in Main branch]
2015-01-30 10:16:55 -05:00
Ben Marsh
5cd236c35c [INTEGRATE] Change 2419894 by Michael.Noland@mnoland-T2784-Reference on 2015/01/26 23:19:28
Component Editor: Removed a number of invalid assumptions about ActorContext being non-null if ever set
	- Moved SCS editor mode enum to be a separate namespace to prevent mistakes (found a couple of ActorInstance ? X : Y instances that should have been (Actor != null) ? X : Y but were always using X since ActorInstance = 1)
	#codereview Phillip.Kavan
	[UE-8368]

[CL 2425707 by Ben Marsh in Main branch]
2015-01-30 10:11:34 -05:00