Commit Graph

116 Commits

Author SHA1 Message Date
Gil Gribb
e631ac5ea3 UE4 - support for dithered LOD transitions on static meshes (that don't move) -- also fixed parallel render thread updates for spline meshes
[CL 2524405 by Gil Gribb in Main branch]
2015-04-24 11:20:23 -04:00
Simon Tovey
44697e6756 Moved parameters back up to the top of the material instance UI to correct a mistake I made a while back.
#codereview Richard.TalbotWatkin

[CL 2518201 by Simon Tovey in Main branch]
2015-04-20 16:30:33 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Rolando Caloca
27d7a0e070 UE4 - Fix ES3.1 emulation shader issues
#codereview Allan.Bentham

[CL 2514517 by Rolando Caloca in Main branch]
2015-04-16 13:02:21 -04:00
Michael Schoell
3f52b7d131 In "Region and Language" you can toggle localization of node and pins in all graph editors.
SNodeTitle no longer compares cached node titles to the title the node wants to be to determine a reconstruction, it checks if the schema wants to purge all cached node titles.

#jira UE-8371 - Change Editor language while leaving Blueprint Editor node & pin names in English

[CL 2508681 by Michael Schoell in Main branch]
2015-04-10 14:37:56 -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
Marc Audy
4562acb429 Fix shadow variables
[CL 2507160 by Marc Audy in Main branch]
2015-04-09 15:23:52 -04:00
Michael Schoell
73a4a605c3 Added a menu option when right clicking on Blueprint nodes to view node's documentation.
Moved the "GoToDocumentation" command from MaterialEditorCommands up to GraphEditorCommands.

#jira UE-11783 - Right click on BP nodes should offer link to API docs for node.

[CL 2506859 by Michael Schoell in Main branch]
2015-04-09 11:34:39 -04:00
Richard TalbotWatkin
a7eb9c7a6d Fix so that material thumbnail is updated when a dependent texture is reimported.
#jira UE-10802 - Re-importing and overwriting a normal texture that is used by a material breaks the material

[CL 2502504 by Richard TalbotWatkin in Main branch]
2015-04-06 05:12:48 -04:00
Dan Oconnor
76e1440d85 Further changes from PVS-Studio, submitted without modification, reviewed with owners where I was unsure of the change
[CL 2500334 by Dan Oconnor in Main branch]
2015-04-02 16:31:18 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Marc Audy
a425eba9ed Unify Slate's FInputGesture and Engine's FInputChord as FInputChord defined in Slate
[CL 2481648 by Marc Audy in Main branch]
2015-03-17 11:36:28 -04:00
Saul Abreu
e9a1f089e7 Fixed UI_COMMAND macro implementation so that it requires use of the LOCTEXT_NAMESPACE macro in the same file it is invoked from. Added necessary LOCTEXT_NAMESPACE definitions to files missing them using UI_COMMAND.
[CL 2477295 by Saul Abreu in Main branch]
2015-03-12 15:26:31 -04:00
Michael Noland
474e3a5e8d Material Editor: Switched to use the full standard in-viewport toolbar
- Switched over to use SCommonEditorViewportToolbarBase, which includes the 'Camera', 'View Mode', Show', etc... menus
- Moved 'preview shape' toolbar to bottom right and removed 'real time' and 'show grid' options, which are now in the standard menu locations

[CL 2474218 by Michael Noland in Main branch]
2015-03-10 15:41:58 -04:00
Dan Hertzka
c3e27d84e2 Material editor viewport now properly drives Slate tick/paint when realtime is enabled
[CL 2472375 by Dan Hertzka in Main branch]
2015-03-09 10:00:46 -04:00
Richard TalbotWatkin
439cad4f2a Material editor preview now refreshes correctly when a referenced texture is (re)imported.
#jira UE-10802 - Re-importing and overwriting a normal texture that is used by a material breaks the material
#reviewedby Matt.Kuhlenschmidt

[CL 2472018 by Richard TalbotWatkin in Main branch]
2015-03-08 15:25:46 -04:00
Richard TalbotWatkin
df5265a9a7 Made the "Set Preview Mesh" in the Material Editor Viewport highlight when selected.
#jira UE-7007 - Preview mesh button does not become highlighted when selected
#reviewedby Matt.Kuhlenschmidt

[CL 2472014 by Richard TalbotWatkin in Main branch]
2015-03-08 15:24:57 -04: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
Michael Noland
a7aa52f10c Material Editor: Add support for previewing any kind of asset with an associated UMeshComponent subclass, such as static meshes, skeletal meshes, and Paper2D sprites
[UE-10085]

[CL 2451301 by Michael Noland in Main branch]
2015-02-19 00:33:19 -05:00
Steve Robb
88dc05ef9e Native classes mirrored as USTRUCTs in Object.h changed to structs.
Typedefs mirrored as USTRUCTs in Object.h wrapped as structs.
Hack in UStructProperty::GetCPPTypeForwardDeclaration removed which was mapping some of these types for correct forward declarations.

#codereview robert.manuszewski,michael.noland

[CL 2445497 by Steve Robb in Main branch]
2015-02-13 17:06:42 -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
Matthew Griffin
36bb74c9ae Fixed issue with menu listings for Material Expressions that don't begin with 'MaterialExpression'
[CL 2429663 by Matthew Griffin in Main branch]
2015-02-03 05:57:20 -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
Daniel Wright
30d41a588f Only recompile materials on save if dirty
[CL 2426340 by Daniel Wright in Main branch]
2015-01-30 16:12:10 -05:00
Simon Tovey
59722a75c3 Fixed performance issue introduced in CL2407391.
UpdatePreviewMaterial no longer triggers a global component reregister.

#lockdown Zachary.EdgertonJones

[CL 2422900 by Simon Tovey in Main branch]
2015-01-28 17:30:08 -05:00