Commit Graph

42 Commits

Author SHA1 Message Date
Thomas Sarkanen
a27980dcf0 Tutorials 2.0 - Initial version
NOTE: Old tutorials not deprecated (yet), but widget highlights in old tutorials will stop working with this change!

Added new Blueprintable UEditorTutorial object.
Added suite of widgets and details customizations to display tutorials.
New system is available on command line switch -NewTutorials.

Slate changes:
Tag names are now stored in SWidgets, rather than simply being discarded.
Removed STutorialWrapper in favour of using Tags.
Added Tags to more multibox widgets, so virtually all can now be picked.
Added SWindow::HasOverlay so we dont attempt to add overlays to widows that cannot have them.

[CL 2244216 by Thomas Sarkanen in Main branch]
2014-08-05 09:04:35 -04:00
Michael Trepka
3293117f09 More fixes for Clang warnings
[CL 2238624 by Michael Trepka in Main branch]
2014-07-31 15:43:08 -04:00
Allan Bentham
2044edb26d Fix missing Font sample parameter in material instances.
#TTP 340962 - LIVE: RENDERING: Font Sample Parameter Behavior in MIC
Created sub struct for UDEditorFontParameterValue to contain the font parameter fields.
Removed font specific widget construction as it can now use the generic CreateParameterValueWidget function to build the UI.

[CL 2238120 by Allan Bentham in Main branch]
2014-07-31 06:03:12 -04:00
Robert Manuszewski
664a8af693 Fixing crash when opening material functions.
#ttp 342489: CRITICAL: EDITOR: CRASH: FArchive does not support FAssetPtr serialization message when opening 3ColorBlend material function
#ttp 342497: CRITICAL: Regression: EDITOR:  CRASH: Opening Material Function

[CL 2234985 by Robert Manuszewski in Main branch]
2014-07-28 17:01:21 -04:00
Jaroslaw Palczynski
b30666376e StringClassReference needs to work with cooking and redirects
TTP# 338203

Refactored StringClassReference to be a subclass of StringAssetReference.

[CL 2226863 by Jaroslaw Palczynski in Main branch]
2014-07-22 08:14:39 -04:00
Andrew Brown
9d47709f5e New dynamic parameters now copy there parameter names from pre-existing dynamic parameters
#ttp 337106 - material editor: new instances of the dynamic parameter node do not automatically gather the existing channel names

#branch UE4

#add Added new function to scan through other dynamic parameters to copy their settings from and modified existing code to reduce dup code.

reviewed by Thomas.Sarkanen

[CL 2225367 by Andrew Brown in Main branch]
2014-07-21 04:33:11 -04:00
Martin Mittring
1366fc2cfe * refactored material compiling, simpler, less code, less error prone, should not have any visual impact
[CL 2192201 by Martin Mittring in Main branch]
2014-07-11 15:14:35 -04:00
Simon Tovey
e36de979f0 Making sure the LivePreview toggle is on by default
[CL 2191298 by Simon Tovey in Main branch]
2014-07-11 08:44:19 -04:00
Graeme Thornton
747d2a9b9d Mobile Preview In Editor
- Material editor preview nodes now work when the editor is in es2 mode
 - Make editor primitives work in ES2 mode
 - Fix slate font rendering in ES2 mode
 - Remove ES2 shader de-gamma when in the editor
 - Add a new linear sampler type for linear textures
 - Various fixes for dynamic feature level switching
 - When in an emulated feature level mode, display some text in the level editor viewport saying what feature level we're running
 - Removed feature level parameter from USkeletalMesh::GetResourceForRendering. Not used for anything
 - ParticleVertexFactoryPool is now creates feature level specific vertex factories.

[CL 2187558 by Graeme Thornton in Main branch]
2014-07-10 10:39:54 -04:00
Simon Tovey
0e209f6bbc Fixes for crash bugs in TTP340716 and TTP 340696
Made sure preview material is compiled when opening editor.
Made sure CodeView is cleared and not regenerated if live preview is off until the material has been recompiled.

[CL 2175874 by Simon Tovey in Main branch]
2014-07-08 10:58:56 -04:00
Simon Tovey
74868c39f8 Live preview material editor button
Toggles the compilation of the preview material everytime an edit is made.

#ttp 333463 - LIVE: RENDERING: Shaders compile automatically even when Live Nodes and Live Updates are Deselected

The Live Update, Live Nodes (and now Live Preview) toggles clearly aren't universally understood. I've added the live preview toggle to do what this user wanted. It may be an idea to have some UI guys see if extra clarity can be had from tootips/docs/icons etc.

#reviewedby Graeme.Thornton

[CL 2130403 by Simon Tovey in Main branch]
2014-07-03 09:13:33 -04:00
Brian Karis
c1246c4b2a Added clear coat material outputs
[CL 2124799 by Brian Karis in Main branch]
2014-07-02 13:03:42 -04:00
Michael Noland
28d33bfc87 Rendering: Make UMaterialExpression and several derived types extendable from outside of Engine
- Add ENGINE_API on several classes that are desirable to derive from
- Started to decouple graph node renaming from being a parameter (added CanRenameNode, GetEditableName, and SetEditableName)
(Integration of CL# 2124083 from 4.3 to main)

[CL 2124126 by Michael Noland in Main branch]
2014-07-02 07:30:47 -04:00
Simon Tovey
1a6334902c Minor style change.
[CL 2121882 by Simon Tovey in Main branch]
2014-06-30 10:45:18 -04:00
Simon Tovey
3c8f1606ab Fix for crash bug in TTP 339857 - EDITOR: MATERIAL: CRASH: If you redo a clean up action on some nodes that have "preview node" enabled it can lead to a crash
[CL 2119313 by Simon Tovey in Main branch]
2014-06-27 07:35:59 -04:00
Simon Tovey
4a1b32656f Shader compilation jobs that are superceded by new jobs are now removed from the compile queue.
This not only eliminates the issue of spamming jobs with Undos or undo/redo, it should also help speed up iteration times.

TTP 338558 - Editor: Material Shaders: Pressing Ctrl+Z repeatedly will increase the numbers of shaders compiling infinitely

[CL 2117907 by Simon Tovey in Main branch]
2014-06-26 09:16:15 -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
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Lukasz Furman
06feba2913 added navigation update locks for continuous actor transform changes
TTP# 337866

[CL 2099173 by Lukasz Furman in Main branch]
2014-06-09 11:20:30 -04:00
Benn Gallagher
c46d281029 Allowed configuration of graph state decorations to disable PIE and read only decorations
#ttp 335218 - Remove read only/PIE borders and notifications from graph preview tooltips

[CL 2098973 by Benn Gallagher in Main branch]
2014-06-09 11:12:17 -04:00
Matthew Griffin
dbd6fa3d29 Fixed reversed autogenerated materials
Changed last remaining instances I could find of material layout code that generated materials with flipped expression positions - SpeedTree, Fbx, dragging textures onto meshes and when placing rotate about axis nodes.

[CL 2095816 by Matthew Griffin in Main branch]
2014-06-05 12:14:10 -04:00
Brian Karis
c786202246 Renamed Material Lighting Model to Material Shading Model.
[CL 2089198 by Brian Karis in Main branch]
2014-05-30 07:55:38 -04:00
Mikolaj Sieluzycki
c11610c881 Remove Particle headers from Engine.h and include only where needed.
#codereview Robert.Manuszewski

[CL 2085445 by Mikolaj Sieluzycki in Main branch]
2014-05-29 17:02:05 -04:00
James Golding
507c402a4e Remove Material Expression headers from Engine.h and only include where needed
#codereview nick.penwarden

[CL 2082041 by James Golding in Main branch]
2014-05-22 11:33:54 -04:00