Commit Graph

26 Commits

Author SHA1 Message Date
Mikolaj Sieluzycki
b2a114be70 Header cleanup: Engine module, Landscape headers.
[CL 2242422 by Mikolaj Sieluzycki in Main branch]
2014-08-04 10:14:05 -04:00
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00
Gareth Martin
d336fb6409 Fix crash when trying to use the landscape painting tools with no paintable layers
[CL 2234237 by Gareth Martin in Main branch]
2014-07-28 05:08:15 -04:00
Richard TalbotWatkin
7e9b8173a4 Fixed issue where returning to landscape mode after creating a landscape causes a crash.
#ttp 341779 - CRITICAL: Regression: EDITOR: CRASH: Switching back to Landscape edit more
#branch UE4
#proj Editor.LandscapeEditor
In FEdModeLandscape::Enter, initializes the current tool prior to creating the landscape toolkit, as the toolkit has a dependency on the current tool being valid.
#reviewedby Gareth.Martin, Chris.Wood

[CL 2231313 by Richard TalbotWatkin in Main branch]
2014-07-25 03:19:01 -04:00
Gareth Martin
e20a958f1d Remove FLandscapeToolSet
Rename ALandscapeProxy::DataLayer to VisibilityLayer
Fix visibility tool not showing the visibility layer as its target

[CL 2222321 by Gareth Martin in Main branch]
2014-07-17 12:20:34 -04:00
Jack Porter
19c3d6751a Change landscape texture/mic outer back to package to fix slow PIE with LandscapeMountains
TTP#341135

[CL 2197805 by Jack Porter in Main branch]
2014-07-12 12:59:16 -04:00
Jack Porter
52af2c8bab Added flag to allow landscapes to cast two-sided shadows
[CL 2116409 by Jack Porter in Main branch]
2014-06-25 02:51:23 -04:00
Andrew Rodham
ba3528c9d4 Made it possible for asset editors to maintain their own FEditorModeTools lists
Breaking changes include:
    * Rename of GEditorModeTools -> GLevelEditorModeTools to signify that it applies only to the level editor modes
    * Addition of FEditorModeRegistry, responsible for managing and creating new editor modes. Modes are no longer registered with an instance of the mode, instead with a mode factory that is able to create a new mode of that type.
    * Editor modes now operate on FEditorViewportClients rather than FLevelEditorViewportClients
    * Added ability to specify an FEditorModeTools when creating an FEditorViewport

Moved component vizualiser manager handling outside of individual editor modes, and into FLevelEditorViewportClient. This should make it easier to transplant in future.

This work addresses TTP#334640 - EDITOR: Investigate making editor modes a per-'editor' concept

Reviewed by Michael Noland, Matt Kuhlenschmidt

[CL 2109245 by Andrew Rodham in Main branch]
2014-06-18 10:16:16 -04:00
Mikolaj Sieluzycki
5d03a01712 Remove redundant headers from Engine.h.
#proj core
#branch UE4
#summary Remove redundant headers from Engine.h. (NavDataGenerator.h NavLinkRenderingProxy.h NavigationModifier.h NavigationOctree.h ContentStreaming.h ComponentReregisterContext.h InstancedFoliage.h UnrealExporter.h EngineService.h NavigationSystemHelpers.h HardwareInfo.h EngineModule.h)
#codereview Robert.Manuszewski

[CL 2109115 by Mikolaj Sieluzycki in Main branch]
2014-06-18 07:25:31 -04:00
James Golding
e4be295b45 Remove PhysicsPublic from Engine.h
[CL 2088098 by James Golding in Main branch]
2014-05-29 17:36:51 -04:00
Bob Tellez
fd0fb26ca7 UE4: Moving landscape MICs and textures to have the UWorld as their outer instead of the UPackage.
#codereview Jack.Porter

[CL 2083282 by Bob Tellez in Main branch]
2014-05-29 16:50:00 -04:00
Gareth Martin
cc096d560f Remove landscape/foliage headers from Engine.h and include only where needed
[CL 2081860 by Gareth Martin in Main branch]
2014-05-22 07:52:43 -04:00
James Golding
a0cbafe73a First pass removing several headers from Engine.h
[CL 2080322 by James Golding in Main branch]
2014-05-21 10:00:58 -04:00
Gareth Martin
5269a28369 Fixed TTP 334878 - Regression: EDITOR: LANDSCAPE: Landscape brush outline is still visible in orthographic viewports when switching from landscape tool
[CL 2078923 by Gareth Martin in Main branch]
2014-05-20 10:13:41 -04:00
Dmitriy Dyomin
1445b1a9e3 World Browser: Added reimporting of a tiled landscape (heightmap, weightmaps)
[CL 2078700 by Dmitriy Dyomin in Main branch]
2014-05-20 05:07:16 -04:00
Mikolaj Sieluzycki
45c031d576 #ttp 331438 UE4: PlatformMath refactor
#proj core
#branch UE4
#summary Rename Trunc, Round, Floor, Ceil to TruncToInt, RoundToInt, FloorToInt, CeilToInt. Added *ToFloat versions. Repeated for FGenericPlatformMath and all derived classes for all platforms wherever applicable. Corrected comment in Fractional and added Frac() which does HLSL-style fractional (x - floor(x)). Checked for compilation on all projects (with cooking levels wherever applicable). Didn't change Fractional to Frac, this will be done in second commit.
#codereview robert.manuszewski

[CL 2064306 by Mikolaj Sieluzycki in Main branch]
2014-05-06 06:26:25 -04:00
Mikolaj Sieluzycki
bbcea54981 #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2055361 by Mikolaj Sieluzycki in Main branch]
2014-04-24 08:49:31 -04:00
Robert Manuszewski
86174fbbdf Back out changelist 2054304
[CL 2054447 by Robert Manuszewski in Main branch]
2014-04-23 20:18:11 -04:00
Mikolaj Sieluzycki
e9351fe5de #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2054304 by Mikolaj Sieluzycki in Main branch]
2014-04-23 20:15:15 -04:00
Lina Halper
0595808f04 318963 Editor: Copy or duplicate of a Staticmesh with 'Custom' collision settings will revert to 'Block All'
312511  COLLISION: When duplicating a Static mesh with a Custom collision Preset, duplicate will lose custom settings
332062  LIVE: EDITOR: Custom Collision gets reset to BlockAll when making copies of static meshes

[CL 2053877 by Lina Halper in Main branch]
2014-04-23 20:11:22 -04:00
Gareth Martin
df2547223a #TTP 332017 - EDITOR: LANDSCAPE: When importing a colored png file for the heightmap, a message appears warning the results may not be desirable but you are forced to continue the import anyways
#proj UE4

#summary Allow user to cancel import of colour or low bit-depth landscape heightmap/weightmap

[CL 2045014 by Gareth Martin in Main branch]
2014-04-23 18:37:45 -04:00
Dmitriy Dyomin
feb2407e2c Landscape: - Fixed landscape layer data importing from a file
[CL 2044077 by Dmitriy Dyomin in Main branch]
2014-04-23 18:25:00 -04:00
Gareth Martin
f4a2f013c8 #summary UDN - Fix re-import of 8-bit heightmaps to an existing landscape
[CL 2040492 by Gareth Martin in Main branch]
2014-04-23 17:40:55 -04:00
Gareth Martin
75a79041ec #TTP 328983 - Landscape: Move to Level tool doesn't do anything if you don't have a selection, despite rendering a component highlight
#proj UE4

#summary Fixed move to level tool not doing anything if you don't have a selection
#fix Also fixed tool clicks getting stuck

[CL 2038550 by Gareth Martin in Main branch]
2014-04-23 16:38:50 -04:00
UnrealBot
db494a6e69 Engine source (Main branch up to CL 2037954) 2014-04-02 18:09:23 -04:00