Commit Graph

44 Commits

Author SHA1 Message Date
Jack Porter
4a2d4cafbd Fix issues with landscape ES2 data being overwriting PC data causing issues with component weightmaps when launching or using the mobile previewer multiple times. (UE-10421 / UE-12441)
[CL 2529858 by Jack Porter in Main branch]
2015-04-29 03:18:59 -04:00
Jack Porter
201e488a13 Fix for crash when assigning a PN-tessellated material to a landscape and then pressing undo (UE-13791)
[CL 2526570 by Jack Porter in Main branch]
2015-04-27 03:07:04 -04:00
Dmitriy Dyomin
ec7c1535d8 Added postponing for landscape textures baking while user uses landscape tools
UE-14108

[CL 2520637 by Dmitriy Dyomin in Main branch]
2015-04-22 01:30:32 -04:00
Dmitriy Dyomin
18f7914ed6 Fixed case where landscape was not properly using default phisical material when one of the painted layers had empty material
[CL 2517268 by Dmitriy Dyomin in Main branch]
2015-04-20 02:29:46 -04:00
Gareth Martin
a7fb46baf0 Remove the need for LandscapeHoleMaterial.
It will still exist as a property, but if it's not set it will use LandscapeMaterial automatically (overriding the blend mode to masked if it's opaque).

[CL 2506718 by Gareth Martin in Main branch]
2015-04-09 09:29:40 -04:00
Dmitriy Dyomin
bcdbc17dae Fixed: Landscape Physical Material always registers default
UE-11421

[CL 2498244 by Dmitriy Dyomin in Main branch]
2015-04-01 02:49:33 -04:00
PaulEremeeff
3d878d5a79 PR #996: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
 * Made nullptr checks consistent (the plurality of the changes are of this type)
 * Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
 * Removed unused variables
 * Removed redundant initializations
 * WidgetNavigationCustomization.cpp was fixed by the owner
 * integers converted to floats where result was stored in a float
 * Removed redundent null checks (e.g. before delete statements)
 * Renamed variables to prevent non-obvious shadowing
 * Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
 * Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)

[CL 2498053 by Dan Oconnor in Main branch]
2015-03-31 20:12:31 -04:00
Dmitriy Dyomin
255ccadefa Update LandscapeGUID when user assigns landscape proxy to actor.
[CL 2473521 by Dmitriy Dyomin in Main branch]
2015-03-10 05:08:55 -04:00
Gareth Martin
859b1f16f1 Fix poor style of landscape code assigning a literal 0 to a TLazyObjectPtr instead of null
[CL 2471456 by Gareth Martin in Main branch]
2015-03-06 14:22:36 -05:00
Dmitriy Dyomin
fcd4e0bb55 Fixed landscape tools to work with cross-level foliage
Fixed landscape retopologize tool that was losing foliage links

[CL 2469877 by Dmitriy Dyomin in Main branch]
2015-03-05 03:28:09 -05:00
Gil Gribb
35cf42566a UE4 - merge GDC branch, code @2465640 to main
[CL 2468685 by Gil Gribb in Main branch]
2015-03-04 08:31:40 -05:00
Jack Porter
144560792c Route FlushGrassComponents to correct LandscapeProxy(s) when landscape editing
[Intergated CL 2433662 from UE4-GDC2014]

[CL 2436465 by Jack Porter in Main branch]
2015-02-06 20:00:14 -05:00
Dmitriy Dyomin
b2c0251808 Seamless foliage painting/editing ( using shared foliage settings )
UE-8464
#codereview Jack.Porter

[CL 2435030 by Dmitriy Dyomin in Main branch]
2015-02-06 03:30:39 -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
Gareth Martin
47493bedf7 Add ability to deform a landscape using a given spline from blueprint
[CL 2427909 by Gareth Martin in Main branch]
2015-02-02 04:36:43 -05:00
Jack Porter
7db2b69955 Automatically flush landscape grass when changing or recompiling the material
Automatically generate grass maps for all components, streaming in textures and weightmaps where needed
Status window when building grass maps
Grass data is now shared between Editor and PIE
Fixed issue where it didn't wait for streaming after updating grass map after painting landscape

[CL 2425895 by Jack Porter in Main branch]
2015-01-30 11:17:08 -05:00
Jack Porter
5065cf0d0d Grass generation using material
#code_review: gil.gribb, nick.penwarden

[CL 2417004 by Jack Porter in Main branch]
2015-01-23 12:56:04 -05:00
Martin Mittring
f6f6215e4b added far shadow cascade feature
per scene primitive checkbox, default is on for landscape
 directional light property FarShadowCascadeCount and FarShadowDistance
 todo: ray traced distance field shadows don't fade with it yet, non landscape objects makes with far should be excluded from ry traced distance field

[CL 2416911 by Martin Mittring in Main branch]
2015-01-23 11:17:06 -05:00
Gil Gribb
2c9d5e0d03 UE4 - grass tweaks and bug fixes
[CL 2415647 by Gil Gribb in Main branch]
2015-01-22 14:39:16 -05:00
Kwangsub Shin
3478bd6128 Make VisibilityLayer in editor-only #code_review: jack.porter
[CL 2415589 by Kwangsub Shin in Main branch]
2015-01-22 14:09:08 -05:00
Ori Cohen
9e51521dbe Move foliage into its own module
[CL 2405964 by Ori Cohen in Main branch]
2015-01-14 10:26:59 -05:00
Gareth Martin
020b838ffe Refresh dynamic foliage when editing landscape
[CL 2404493 by Gareth Martin in Main branch]
2015-01-13 05:35:53 -05:00
Matt Kuhlenschmidt
cf7ffd818b Added a method to add a blank actor from the placement browser
Integrated MarcA's changes to display and edit per actor instance components.

Must set bInWorldBPEditing to true in experimental settings to enable.

#codereview dan.hertzka

[CL 2398903 by Matt Kuhlenschmidt in Main branch]
2015-01-06 13:49:19 -05:00
Jack Porter
bce653d631 Fix various landscape LOD discontinuities between neighbors and while texture streaming
[CL 2393633 by Jack Porter in Main branch]
2014-12-19 05:52:40 -05:00
Zak Middleton
e95939ba24 #ue4 - Convert all engine uses of GetComponents() to use TInlineComponentArray.
[CL 2393060 by Zak Middleton in Main branch]
2014-12-18 17:02:31 -05:00