Commit Graph

109 Commits

Author SHA1 Message Date
Uriel Doyon
ac9896ad80 Reversed Index Buffers. Depth only render pass now use the unified mesh when possible.
Can be disabled per staticmesh through the lod settings : "Build Reversed Index Buffer".
Can be dynamically toggled with command "ToggleReversedIndexBuffers".
#code_review: Brian.Karis

[CL 2687313 by Uriel Doyon in Main branch]
2015-09-10 19:22:12 -04:00
Joe Tidmarsh
d22d55ff18 [UE-19897] Continued. Added Static Mesh support. Sections can now be isolated in the Static Mesh Editor.
[CL 2675261 by Joe Tidmarsh in Main branch]
2015-09-01 07:17:25 -04:00
Martin Mittring
97ee86291e UE-19859 Remove debug/show rendering features on shipping
I did the first part, lock some showflags to be 0 or 1 in SHIPPING
If this causes problems for some applications (e.g. using showflag as scalability which they shouldn't) the user needs to update the code.
or we remove the lock from that showflag.
For editor or non shipping features it's fine to use the SetSHOWFLAGNAME() calls, they become NOPS in SHIPPING.

This is a performance optimization (when  used in inner loop) and prepares for removing more

[CL 2673126 by Martin Mittring in Main branch]
2015-08-28 17:18:26 -04:00
Adric Worley
9d134e7464 #ENGINE - Integrating automation test flags refactor
- New filter flags in automationtest.h
- Compile time errors if proper flags are not specified
- Existing tests converted to new flags
- New "disabled" flag
- Filter dropdown in automation UI replaces Smoke Tests button
- Automation features are no longer compiled out in Test configuration at runtime (except in Shipping)
- Enabled automation tests to be triggered from in-game console in non-editor builds (automation controller is enabled)

NOTE: This will force licensees who use automation to update their tests.
#codereview: jason.bestimt, mike.fricker, ben.salem

[CL 2672561 by Adric Worley in Main branch]
2015-08-28 13:23:02 -04:00
Andrew Rodham
1bb27e3999 Added customization for FAssetImportInfo
- FAssetImportInfo is now marked as USTRUCT and is stored as a member value on UAssetImportData rather than using inheritance. This makes customization writing much easier and better affords UObject interoperability.
 - Removed UAssetImportData::bDirty as it was only every used to enable/disable a button on the static mesh editor, and its presence caused confusion and inconsistency.
 - Fixed issue where timestamps did not get updated correctly
 - Fixed various reimport paths that were not updating their source file information correctly.

This addresses UETOOL-466 and UE-16406.

[CL 2646395 by Andrew Rodham in Main branch]
2015-08-06 10:04:50 -04:00
Josh Markiewicz
f8d83447e1 #Integration FN->Main from CL#2642868
Engine Source changes

[CL 2645403 by Josh Markiewicz in Main branch]
2015-08-05 15:54:57 -04:00
James Golding
83c0c9c25f UE-19126 Fix crash using auto-convex when no sections have collision enabled
UE-19046, UE-19047 Fix non-escaped character and simplify status message
#codereview jack.porter

[CL 2632162 by James Golding in Main branch]
2015-07-24 10:04:30 -04:00
Daniel Wright
be73933726 'Num Primitives' -> 'Num Collision Primitives'
[CL 2626552 by Daniel Wright in Main branch]
2015-07-20 16:14:17 -04:00
Richard TalbotWatkin
b020a0a318 Cancelling at the prompt to change LOD Group in the Static Mesh Editor now no longer changes the LOD group.
#jira UE-18325 - LODGroup in Static Mesh not properly set when cancelling confirmation

[CL 2626008 by Richard TalbotWatkin in Main branch]
2015-07-20 12:37:44 -04:00
Michael Noland
c8662fa435 Editor: Added responsive crushing of the XYZ labels and margin in property editor vector/rotator rows, allowing them to be editable at much lower widths
[CL 2620995 by Michael Noland in Main branch]
2015-07-14 17:48:50 -04:00
Steve Robb
7661666dcb Error when a module is both a dependency and dynamically loaded.
Fixes for lots of existing modules by removing all dynamically loaded duplicates (this is probably not the correct solution, but is the safest).

#codereview robert.manuszewski

[CL 2610845 by Steve Robb in Main branch]
2015-07-06 05:46:20 -04:00
Chris Bunner
9d7e916c82 Changed static mesh adjacency buffer generation from fixed 50k triangle limit to import option. UE-17556
[CL 2609199 by Chris Bunner in Main branch]
2015-07-02 11:29:34 -04:00
Jurre DeBaare
ee7b6ca124 FIX UE-14423 Show Player Collision / Show Visibility Collision don't work with non-uniformly scaled objects
[CL 2601939 by Jurre DeBaare in Main branch]
2015-06-26 05:20:17 -04:00
James Golding
6835bae202 Auto-convex generation now ignores sections with collision disabled (suggestion from @ManOfLode)
[CL 2593394 by James Golding in Main branch]
2015-06-19 09:43:01 -04:00
Matt Kuhlenschmidt
1445f0626d Fix crash when reimporting a mesh while editing collision in the static mesh editor
[CL 2587434 by Matt Kuhlenschmidt in Main branch]
2015-06-15 11:48:12 -04:00
Ori Cohen
6e10ad5ecd Remove BodySetup.h from engine.h and other unnecessary headers
[CL 2587297 by Ori Cohen in Main branch]
2015-06-15 09:34:39 -04:00
Andrew Rodham
93e71b9e6a Unified asset import data across all asset types.
The majority of asset reimport machinery is now held within UAssetImportData and FAssetImportInfo. This change allows us to remove the CachedAssetsBySourceFileName map from FAssetRegistry that was previously added to support auto reimport for 4.7.

The functionality of CachedAssetsBySourceFileName has been wrapped up in FAssetSourceFilenameCache, which sits on top of the asset registry in the editor.

This unification allows us to also consistently store the file timestamps and MD5 hashes of imported files. This subsequently allows auto-reimports to be ignored where a source content file has not actually changed (its MD5 is the same).

This addresses UETOOL-365 - Rework AssetRegistry changes to support auto-reimport

[CL 2567286 by Andrew Rodham in Main branch]
2015-05-27 16:16:21 -04:00
Dan Hertzka
dd74179c7a [UE-1518] - Simple hookup of new editor icons
[CL 2532543 by Dan Hertzka in Main branch]
2015-04-30 16:52:00 -04:00
Richard TalbotWatkin
d0af5a268f Fixed issue where custom set LoD materials were lost after reimporting a mesh.
#jira UE-8475 - Mesh reimport loses custom set LoD material references and metadata
#reviewedby Lina.Halper

[CL 2530463 by Richard TalbotWatkin in Main branch]
2015-04-29 13:13:37 -04:00
Andrew Rodham
bd1cefb847 Fixed static mesh editor not using the correct window for its screenshots
This addresses UE-12575

[CL 2530162 by Andrew Rodham in Main branch]
2015-04-29 09:51:24 -04:00
Matt Kuhlenschmidt
354227ac28 Add back in option to toggle MikkTSpace tangent space generation for static meshes
[CL 2519373 by Matt Kuhlenschmidt in Main branch]
2015-04-21 11:52:55 -04:00
Richard TalbotWatkin
e4d8d2d765 Fixed out of range array access for LOD Group names if LOD group not found.
#jira UE-12853 - Crash after Deleting Static Mesh LOD Group from BaseEngine.ini

[CL 2517579 by Richard TalbotWatkin in Main branch]
2015-04-20 10:31:58 -04:00
Michael Noland
1553cbb45d Editor: Deleted some dead code in StaticMeshEditor and UnrealEd (lightmap mesh import/export)
[CL 2515213 by Michael Noland in Main branch]
2015-04-16 19:30:02 -04:00
Adric Worley
e578e2d7cd Separate automated system tests from project-specific tests
[CL 2514485 by Adric Worley in Main branch]
2015-04-16 12:40:47 -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