Commit Graph

47 Commits

Author SHA1 Message Date
Jurre DeBaare
6e56dd94cb Possible solution for UE-2244 (https://jira.ol.epicgames.net/browse/UE-2244)
Original code was by Wes Fudala, contacted him and the reason he wrote it orginally (2012) was with the assumption that it would be possible to paint to seperate LOD levels.

- Removed RemoveInstanceVertexColorsWorker(MeshPaintEdMode) function (unnecessary and very similar to RemoveInstanceVertexColorsFromLOD (StaticMeshComponent)

- Altered RemoveComponentInstanceVertexColors (MeshPaintEdMode), does original checks but now calls RemoveInstanceVertexColors (StaticMeshComponent) which has the desired outcome

[CL 2539060 by Jurre DeBaare in Main branch]
2015-05-06 09:14:12 -04:00
Michael Noland
9e57fb9699 Mesh paint editor mode: Refactored texture override code to get closer to being able to override via the IMeshPaintGeometryAdapter
[CL 2520442 by Michael Noland in Main branch]
2015-04-21 20:28:46 -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
Dan Oconnor
84da45973f PR #936: Fixes for PVS-Studio warnings from Paul Eremeeff
These are mostly fixes to redundant comparisons and initialization code, but there's also a fix for serious looking scope issue in FontCache.cpp

[CL 2483865 by Dan Oconnor in Main branch]
2015-03-18 20:36:02 -04: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
Marc Audy
e5e74f7f6c Rename SerializedComponents to BlueprintCreatedComponents
Add InstanceComponents for per-instance added components

[CL 2409606 by Marc Audy in Main branch]
2015-01-16 16:59:14 -05:00
Michael Noland
2a3b6e24e8 Paper2D: Improvements to texture selection for mesh paint, allowing adapters to override behavior
[CL 2397883 by Michael Noland in Main branch]
2015-01-05 16:36:11 -05:00
Michael Noland
22a774b7b5 Editor: Fix mesh texture painting on static mesh components
[CL 2393491 by Michael Noland in Main branch]
2014-12-19 02:02:27 -05:00
Michael Noland
e3d176bf5c Editor: Start pushing the mesh texture painting brush sphere intersection code into the geometry adapter (WIP)
[CL 2393485 by Michael Noland in Main branch]
2014-12-19 01:47:27 -05:00
Michael Noland
b3e4535b46 Editor: Add adapter factory registration system for mesh painting and split the static mesh version out into separate files (WIP)
[CL 2393433 by Michael Noland in Main branch]
2014-12-18 23:37:29 -05:00
Michael Noland
24e8eb6049 Editor: Generalizing mesh paint to work with other component types: start of an adaptor interface for different components (WIP)
[CL 2393336 by Michael Noland in Main branch]
2014-12-18 20:52:36 -05:00
Michael Noland
9c3cc47fae Editor: Generalizing mesh paint to work with other component types (WIP)
[CL 2392049 by Michael Noland in Main branch]
2014-12-17 20:52:08 -05:00
Michael Noland
3808344e1e Editor: Slowly starting to generalize mesh paint to work with other component types (WIP)
[CL 2391875 by Michael Noland in Main branch]
2014-12-17 17:42:54 -05:00
Michael Noland
316468fff4 Editor: Remove a bunch of GEditor dependencies in mesh painting code
[CL 2391798 by Michael Noland in Main branch]
2014-12-17 17:12:54 -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
Michael Noland
8fadce6378 Engine: Replace some color literals with FColor / FColorList entries
[CL 2378046 by Michael Noland in Main branch]
2014-12-05 15:03:26 -05:00
Matthew Griffin
f1c4513760 Renaming FVector ClampSize and SafeNormal functions for clarity
Used DEPRECATED Macro to keep old names around in case I've missed anything

[CL 2370785 by Matthew Griffin in Main branch]
2014-11-26 10:01:12 -05:00
Michael Noland
d21ebf1247 Editor: Add tracking of the associated toolkit host for a FEditorModeTools instance and reduced dependencies on the level editor in individual modes
#codereview andrew.rodham

[CL 2357958 by Michael Noland in Main branch]
2014-11-12 22:02:17 -05:00
Mikolaj Sieluzycki
d43e69c4b9 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356854 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:43:54 -05:00
Robert Manuszewski
af80979bb7 First phase of deprecating TSubobjectPtr<> replacing TSubobjectPtr properties in the Engine with normal pointers and adding subobject accessors for derived classes/client code.
[CL 2331521 by Robert Manuszewski in Main branch]
2014-10-16 09:02:30 -04:00
Michael Noland
928559eaa0 Editor: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316341 by Michael Noland in Main branch]
2014-10-01 14:45:23 -04:00
Jaroslaw Palczynski
65ba5d456f TArray documentation and a coupld of methods deprecation.
Changes mostly in Array.h. The changes in other files are only renames for deprecated functions.

[CL 2312616 by Jaroslaw Palczynski in Main branch]
2014-09-29 04:23:44 -04:00
Graeme Thornton
bcde0d05c2 Mobile Preview
* More removal of GRHIFeatureLevel and GRHIShaderPlatform

[CL 2262530 by Graeme Thornton in Main branch]
2014-08-19 10:41:34 -04:00
Lina Halper
e513ea2300 Named FMatrix/FTransform unsafe Inverse to InverseFast, and InverseSafe,InverseSlow to Inverse as people often use Inverse as default function.
- Inverse was one of the main reasons of crashes via lots of functions. Seems making default Inverse to be safer version seems better.

[CL 2255081 by Lina Halper in Main branch]
2014-08-13 15:29:41 -04:00