Commit Graph

207 Commits

Author SHA1 Message Date
Dmitriy Dyomin
77035e6506 Properly detect that all required landscape textures are streamed-in before rendereing grass maps
[CL 2529930 by Dmitriy Dyomin in Main branch]
2015-04-29 05:31:28 -04:00
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
35064cbda6 Fix index buffer overflow crash when rendering tessellation on landscapes with more than 1 subsection. (UE-14187)
[CL 2528096 by Jack Porter in Main branch]
2015-04-28 03:32:03 -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
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
Zak Middleton
401211a9ed #ue4 - Perf: don't zero array memory that will get immediately overwritten by physics shapes.
[CL 2520718 by Zak Middleton in Main branch]
2015-04-22 04:28:47 -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
Robert Manuszewski
d80262a45e Fixing UHT not propagating class flags/properties properly
- Small refactor of how and where class flags are parsed
- 'Placeable' is no longer deprecated (it never really was)
- Restoring 'Placeable' keyword on ALandscape

UE-14035

[CL 2518912 by Robert Manuszewski in Main branch]
2015-04-21 05:03:44 -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
David Ratti
4cfa4288d4 Merge
CL 2505532 Moved custom depth checking to CanBeOccluded()
CL 2500364 Don't consider static meshes with precomputed shadows to be dynamic

[CL 2510964 by David Ratti in Main branch]
2015-04-13 18:27:47 -04:00
Gareth Martin
c9cccf18db Fix applying splines to a non-blended landscape layer treating it as a blended layer
[CL 2510458 by Gareth Martin in Main branch]
2015-04-13 12:36:51 -04:00
Gareth Martin
0c447d324c Fix crash with landscape spline editor
[CL 2510312 by Gareth Martin in Main branch]
2015-04-13 10:10:38 -04:00
Marc Audy
a509e739ad Fix shadow variables
[CL 2508945 by Marc Audy in Main branch]
2015-04-10 16:47:24 -04:00
Marc Audy
4562acb429 Fix shadow variables
[CL 2507160 by Marc Audy in Main branch]
2015-04-09 15:23:52 -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
bfe42ebb33 Fixed mouse move during sculpting on mirrored landscapes
[CL 2502463 by Dmitriy Dyomin in Main branch]
2015-04-06 03:10:10 -04:00
Mieszko Zielinski
c04cbfd840 Moved notifying NavigationSystem about undo/redo events from LandscapeProxy to Actor for consistency and to have all actors benefit from it. #UE4
[CL 2498569 by Mieszko Zielinski in Main branch]
2015-04-01 09:40:26 -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
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
Ori Cohen
f4a0edfe71 Turn on sync scene lock warning. Fix lock semantics in several places.
[CL 2495966 by Ori Cohen in Main branch]
2015-03-30 14:43:49 -04:00
Steve Robb
cebf099231 TArray::Init deprecated, as it's not obvious from the name that it leaves elements unconstructed.
TArray::Init use replaced with SetNumUninitialized.

#codereview robert.manuszewski

[CL 2495011 by Steve Robb in Main branch]
2015-03-28 06:38:28 -04:00
Dmitriy Dyomin
c650a740d1 Global landscape map considers landscape actors only in visible levels
Fixes UE-12859

[CL 2493271 by Dmitriy Dyomin in Main branch]
2015-03-27 03:35:34 -04:00
Max Preussner
90dc26b66f Landscape: Fixed Mac non-unity
#lockdown Zachary.EdgertonJones
#CodeReview: jack.porter

[CL 2490576 by Max Preussner in Main branch]
2015-03-25 11:05:19 -04:00
Dan Oconnor
f4d3d65662 PR #968: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
These can be generally described as removing redundant condition checks, using logical operators instead of bitwise operators, removal of redundant parenthesis, and consistent use of pragma push and pragma pop. There is very little observable behavior change in this CL.

Changes that required further review are pending in 2489753

[CL 2489804 by Dan Oconnor in Main branch]
2015-03-24 15:51:28 -04:00