Commit Graph

56 Commits

Author SHA1 Message Date
Richard TalbotWatkin
d79f8983fb Fix so that cancelling attempted delete of read only files does not remove the asset from the Content Browser.
#jira UE-16530 - Deleting and read-only asset happens despite my protests.

[CL 2605992 by Richard TalbotWatkin in Main branch]
2015-06-30 12:59:56 -04:00
Matt Kuhlenschmidt
0255950eb2 Fix crash force deleting lots of objects
https://jira.ol.epicgames.net/browse/UE-17645?

[CL 2603834 by Matt Kuhlenschmidt in Main branch]
2015-06-29 09:20:58 -04:00
Richard TalbotWatkin
bb1c076f89 Fixes to allow Starter Content assets to be deleted cleanly without bogus references being held. Also deleted stale Starter Content packages.
#jira UE-15929 - Starter Content folders return to content browser after being manually deleted

[CL 2587805 by Richard TalbotWatkin in Main branch]
2015-06-15 16:21:30 -04:00
Gil Gribb
087fc05e75 UE4 - alternate fix for crash when generating thumbnails for added feature packs
[CL 2571316 by Gil Gribb in Main branch]
2015-05-29 17:27:08 -04:00
Andrew Rodham
863aa3f32a Fixed replace references not being able to pick up references in linkers
The object reference replacement archives can't serialize linkers which may hold references to the objects in question. Resetting loaders before we run this code ensures there are no unreachable references.

This addresses UE-13884 and UE-13877
Reviewed by Rob Manuszewski

[CL 2540729 by Andrew Rodham in Main branch]
2015-05-07 04:51:29 -04:00
Matt Kuhlenschmidt
661801b3e3 Fixed crash renaming a level which has not been saved yet
https://jira.ol.epicgames.net/browse/UE-14639

[CL 2530874 by Matt Kuhlenschmidt in Main branch]
2015-04-29 17:36:57 -04:00
Richard TalbotWatkin
7514ca29b7 Implemented better filtering in the "Replace References" part of the Delete Asset dialog, so that Blueprint assets are filtered by their parent class as well.
#jira UE-9362 - Deleting an actor blueprint that has instances in a level offers a replace references option that can explode
#reviewedby Chris.Gagnon

[CL 2511580 by Richard TalbotWatkin in Main branch]
2015-04-14 09:07:27 -04:00
Mikolaj Sieluzycki
a96989f147 Add includes to files to remove the need of including Engine.h.
[CL 2508000 by Mikolaj Sieluzycki in Main branch]
2015-04-10 03:30:54 -04:00
Bob Tellez
4951fa41d1 [AUTOMERGE]
#UE4 Fixed some faulty logic in ShowDeleteConfirmationDialog that incorrectly removed all packages from the delete list.

--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2499176 by Bob.Tellez on 2015/04/01 17:40:29.

[CL 2499177 by Bob Tellez in Main branch]
2015-04-01 17:40:46 -04:00
Michael Schoell
e926238b84 When deleting Blueprint assets, child Blueprints will not be re-parented and recompiled when they are also slated for deletion.
#jira UE-11175 - CRASH: Simultaneously deleting an in-level blueprint and the blueprint it's been reparented to

[CL 2471614 by Michael Schoell in Main branch]
2015-03-06 16:53:40 -05:00
Saul Abreu
79a26091bf Fixed behavior on FString::ParseIntoArray (muliple delimiters overload) functionality to support optionally culling empty strings. Greatly simplified implementation logic. Output parameter now properly named and taken by reference.
#codereview Steve.Robb, Robert.Manuszewski

[CL 2466824 by Saul Abreu in Main branch]
2015-03-02 15:51:37 -05:00
Matt Kuhlenschmidt
c0101f80ca Fixed another crash deleting an actor with no world
[CL 2461407 by Matt Kuhlenschmidt in Main branch]
2015-02-25 20:10:10 -05:00
Marc Audy
5a9d2471d9 Fix shadowed variables
[CL 2456886 by Marc Audy in Main branch]
2015-02-23 16:18:13 -05:00
Matthew Griffin
9420572981 [INTEGRATE] Change 2446219 by Dan.Oconnor@epic_3298 on 2015/02/14 21:11:35
[UE-9497] Clear the blueprint's generated class's CDO before deleting the blueprint, otherwise it gets redirected to the replacing type and that causes a an assertion

	#lockdown Nick.Whiting

[CL 2449925 by Matthew Griffin in Main branch]
2015-02-18 06:39:11 -05:00
Matthew Griffin
c55ae7808e [INTEGRATE] Change 2436952 by Chris.Gagnon@chris.gagnon_T4696 on 2015/02/07 16:43:52
You can now force delete blueprint components.
	UE-9325 fixed by this.

	#codereview michael.noland

[CL 2446945 by Matthew Griffin in Main branch]
2015-02-16 08:37:03 -05:00
Mikolaj Sieluzycki
52c71176ab Rename StaticConstructObject to StaticConstructObject_Internal and use it only in CoreUObject module. Change rest of usages to NewObject.
#codereview Robert.Manuszewski

[CL 2437731 by Mikolaj Sieluzycki in Main branch]
2015-02-09 05:43:45 -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
Ben Marsh
4d3e0b2b9f [INTEGRATE] Change 2422593 by Phillip.Kavan@phosphor_pkavan_LT on 2015/01/28 14:23:11
Delete Blueprint Class instances when users force delete the source asset.

	#jira UE-7247 - Editor locks on PIE after deleting BP with billboard and another component

	change summary:
	- alert and clear transaction buffer on delete when instances are present
	- modified ForceDeleteObjects() to find and destroy BPGC instances (routing through standard editor code paths for Actor-based instances to ensure that references are cleared, panels are updated, etc.)

[CL 2425868 by Ben Marsh in Main branch]
2015-01-30 11:06:16 -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
Jamie Dale
a569f6b356 Fixed code relying on SLATE_TEXT_ATTRIBUTE for STextBlock.
UETOOL-213 - Minimize Slate FString -> FText conversion (remove SLATE_TEXT_ATTRIBUTE)

This fixes any editor/engine specific code that was passing text to Slate as FString rather than FText.

[CL 2399803 by Jamie Dale in Main branch]
2015-01-07 09:52:40 -05:00
Nick Darnell
90e793745c Slate - ESlateCheckBoxState has been renamed to ECheckBoxState.
[CL 2384008 by Nick Darnell in Main branch]
2014-12-10 14:24:09 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Marc Audy
94e61448f7 Bring minimum engine version up to 214
Remove UE3 version

[CL 2376068 by Marc Audy in Main branch]
2014-12-04 11:18:08 -05:00
Maciej Mroz
448b557b04 UE-4486 Crash occurs when making a new blueprint after deleting one with the same name
When BP is ForceDeleted its BPGC is moved to transient package.

#codereview Nick.Darnell, Phillip.Kavan

[CL 2339751 by Maciej Mroz in Main branch]
2014-10-24 08:10:43 -04:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00