Commit Graph

128 Commits

Author SHA1 Message Date
Ori Cohen d433a92482 Fix foliage sticking around after deleting its asset. This fixes a crash when mapRebuild is triggered.
UE-15541

#codereview Jack.Porter

[CL 2550999 by Ori Cohen in Main branch]
2015-05-14 13:49:56 -04:00
Ori Cohen 8a70ccaf38 Duplicate blueprint case of procedural foliage to fix GLEO issues.
UE-15454

[CL 2547713 by Ori Cohen in Main branch]
2015-05-12 15:41:09 -04:00
Ori Cohen bbdfa6fe6b Fix procedural foliage placement issues when sweep was initially penetrating. The fix is to move the start position up a bit so that the initial penetration never happens.
UE-15431

#codereview Dan.Hertzka

[CL 2547542 by Ori Cohen in Main branch]
2015-05-12 13:58:13 -04:00
Ori Cohen 0bea3b5e6e Fix crash when deleting static mesh of a foliage instance that's embedded in the FLA
UE-15371

#codereview Dan.Hertzka

[CL 2547461 by Ori Cohen in Main branch]
2015-05-12 13:04:36 -04:00
Jack Porter 3946ec5778 removed unused DisplayOrder property from FoliageType
[CL 2541076 by Jack Porter in Main branch]
2015-05-07 10:33:05 -04:00
Dan Hertzka 7c7743b1c5 [UE-15100] - Re-adding resimulate tooltips and limitations
[CL 2540017 by Dan Hertzka in Main branch]
2015-05-06 17:26:14 -04:00
Dan Hertzka 537d3361b7 [UE-14155]:
- An existing local foliage type assigned to the same mesh is no longer stomped by proc foliage from a blueprint class
- Added limited support for foliage type blueprints to the foliage palette
- Properties cannot be edited in the palette, but any changes to the BP propagate to the corresponding instances in the world. In general, using FoliageType assets for proc foliage is still recommended.
- No longer possible to assign the same mesh to multiple local foliage types
- Added source asset info to foliage palette item tooltips

- Local foliage types are now transactional
- Updated asset color for proc foliage spawner and foliage type

[CL 2539880 by Dan Hertzka in Main branch]
2015-05-06 16:37:21 -04:00
Mikolaj Sieluzycki 245fb2006a CIS fix.
#codereview Dan.Hertzka

[CL 2537084 by Mikolaj Sieluzycki in Main branch]
2015-05-05 05:29:18 -04:00
Dan Hertzka eb874de31d [UE-11669] - Procedural foliage volumes duplicate properly
[CL 2536610 by Dan Hertzka in Main branch]
2015-05-04 18:13:12 -04:00
Dan Hertzka 18decb8a51 [UE-14606] - Updated shade growth behavior - now possible to be able to grow in shade without being required to spawn in shade. Old bGrowsInShade option is now bSpawnsInShade.
[UE-14605] - Painting scale only visible when painting and proc scale only visible when the asset is open
[UE-14155] - Fixed procedural generation to not add redundant entries for foliage types when simulating. When Foliage Type assets are not used, the foliage type created by the proc foliage simulation will stomp an existing non-asset type with the same mesh (if there is one) in the palette. A significant rework of the foliage palette is needed for a more robust solution.

- Fixed crash when an instance is located exactly on the border between two quadtrees

[CL 2536450 by Dan Hertzka in Main branch]
2015-05-04 17:06:02 -04:00
Ori Cohen 3e48196fc5 Make foliage statistics public
[CL 2536076 by Ori Cohen in Main branch]
2015-05-04 14:16:47 -04:00
Dan Hertzka 9dca45ba20 Added edit conditions to various shadow flags on the instance settings
[CL 2532095 by Dan Hertzka in Main branch]
2015-04-30 12:14:58 -04:00
Dan Hertzka 919b2f190d [UE-14644] - Changing the mesh assigned to a foliage type will propagate to instances in the world & update the entry in the palette
- Fixed crash on shutdown when foliage mode was active

Various other important & related usability fixes (for 4.8):
- Palette selection is retained accross undo/redo
- To maintain item order at all times, the default sort mode for the foliage palette isn't none
- Restored previous layout of view options and details toggle widgets
- Added commands for activate & deactivate selected; removed the activation checkbox when tiles are tiny

[CL 2531979 by Dan Hertzka in Main branch]
2015-04-30 10:48:14 -04:00
Dan Hertzka ea2b3eade2 Fixed crash when selecting a foliage instance if a type in the palette had no instances in the world
#codereview dmitriy.dyomin

[CL 2516804 by Dan Hertzka in Main branch]
2015-04-18 14:55:36 -04:00
Dmitriy Dyomin 775194c76a Do not copy foliage with empty base when copy/pasting actors
[CL 2515359 by Dmitriy Dyomin in Main branch]
2015-04-16 22:31:20 -04:00
Dan Hertzka ad9cf988ad Removed erroneous #pragma once from cpp
#lockdown zachary.edgertonjones

[CL 2512379 by Dan Hertzka in Main branch]
2015-04-14 18:45:07 -04:00
Dan Hertzka 9559ed311a [UETOOL-266] - Procedural foliage assets & properties are hidden behind an experimental flag
[CL 2510835 by Dan Hertzka in Main branch]
2015-04-13 17:33:05 -04:00
Dan Hertzka a0739d08ca Re-adding CL 2508810 with the previously missing FoliageTypeObjectCustomization files
[CL 2510599 by Dan Hertzka in Main branch]
2015-04-13 14:46:31 -04:00
Dmitriy Dyomin 87fb53fef2 Fixed: updating cached transforms for foliage instance base components
[CL 2510032 by Dmitriy Dyomin in Main branch]
2015-04-13 03:59:26 -04:00
Dan Oconnor 6ab92e9057 Back out changelist 2508810 - there was a missing file
[CL 2509228 by Dan Oconnor in Main branch]
2015-04-10 19:17:10 -04:00
Dan Hertzka ecd5c212b9 [UETOOL-269] - Foliage type assets now work with procedural foliage in addition to BP subclasses
- Renamed FProceduralFoliageTypeData to FFoliageTypeObject
- Added property customization for FFoliageTypeObject
- Can contain either a FoliageType asset or BP subclass

[CL 2508810 by Dan Hertzka in Main branch]
2015-04-10 15:45:53 -04:00
Dan Hertzka 49150d7854 General, basic improvements to the Foliage mode UI
- Added "+Add Foliage Type" button to allow foliage type assets to be created directly
- Adjusted sizing of elements (font & spinboxes) to match details panel & save space
- Changed "ReapplyDensityAmount" to "DensityAdjustmentFactor" to more properly describe its function

- Foliage Type assets can be created in CB
- Overhauled foliage type details customizations to use metadata specifiers for hiding and reapplying
- Updated non-painting FoliageType details customization to display properties properly

[CL 2508803 by Dan Hertzka in Main branch]
2015-04-10 15:43:05 -04:00
Marc Audy ec8f2d020c Fix shadow variables
[CL 2508395 by Marc Audy in Main branch]
2015-04-10 11:23:49 -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
Dan Hertzka 6297626e2a Fixed error in procedural foliage simulation in which the initial seed location(s) on every tile were the same
#codereview Ori.Cohen

[CL 2505885 by Dan Hertzka in Main branch]
2015-04-08 17:03:32 -04:00