Commit Graph

36 Commits

Author SHA1 Message Date
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Gil Gribb
89ad70df9d Merging development branch (CL 2365488) to //depot/UE4/... Engine only, mostly hierarchical foliage
[CL 2376199 by Gil Gribb in Main branch]
2014-12-04 12:41:25 -05:00
Matthew Griffin
f1c4513760 Renaming FVector ClampSize and SafeNormal functions for clarity
Used DEPRECATED Macro to keep old names around in case I've missed anything

[CL 2370785 by Matthew Griffin in Main branch]
2014-11-26 10:01:12 -05:00
Richard TalbotWatkin
8adc094be5 Added tangent handles to spline visualization.
#jira UE-2726 - No tangent handle when editing

[CL 2364934 by Richard TalbotWatkin in Main branch]
2014-11-19 10:29:43 -05:00
sebastian kowalczyk
b5d27560b2 Extended functions for debug drawing (API from SceneManagement.h file):
- Added "Thickness" parameter to some functions (only for wired shapes rendering and with 0 as default value)
- Added GetHalfSphereMesh, GetConeMesh and GetCapsuleMesh functions

#codereview Daniel.Wright

[CL 2363368 by sebastian kowalczyk in Main branch]
2014-11-18 10:15:20 -05:00
Mikolaj Sieluzycki
51f5333986 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356864 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:58:53 -05:00
Richard TalbotWatkin
4a236558c9 Added to SplineComponent: get/set spline point type; set editor colors for selected/unselected spline segments.
#jira UE-5024 - Implement user-definable colors for spline component visualizations

[CL 2354667 by Richard TalbotWatkin in Main branch]
2014-11-10 11:49:45 -05:00
Richard TalbotWatkin
c4eab00971 Added spline component Modify() calls in the various transactions, so that native components are undoable.
#jira UE-3418 - EDITOR: SPRITES: Cannot undo the duplicating of a 2D terrain spline point

[CL 2351387 by Richard TalbotWatkin in Main branch]
2014-11-06 15:09:39 -05:00
Mikolaj Sieluzycki
59df49651b Engine private PCH cleanup.
#codereview Robert.Manuszewski

[CL 2348191 by Mikolaj Sieluzycki in Main branch]
2014-11-04 06:12:25 -05:00
Wes Hunt
31e2bb00ac Removed a bunch of stuff from Slate standard include, created SlateBasics.h
* Moved Slate.h into SlateBasics.h and began shifting less commonly used headers into SlateExtras.h.
* Slate.h now simply includes SlateBasics.h and SlateExtras.h.
* Slate.h includes a deprecated warning now to indicate that SlateBasics.h + specific includes should be used instead.
* Moved dozens of inlined functions using Slate widgets into .cpp files to avoid header dependencies.
* All code samples now include SlateBasics.h and SlateExtras.h so future shifts will not break most those projects, but not trigger the deprecation warning of including Slate.h.
#BUN

[CL 2329610 by Wes Hunt in Main branch]
2014-10-14 22:50:06 -04:00
Ori Cohen
9860c6f1da Add COM visualization
[CL 2327635 by Ori Cohen in Main branch]
2014-10-13 16:13:29 -04:00
Ori Cohen
d4445d84cc New spring component
[CL 2326606 by Ori Cohen in Main branch]
2014-10-11 23:04:16 -04:00
Richard TalbotWatkin
4257b9ad67 Added a closed loop property to SplineComponent. Also fixed small rendering bug (local space widget) in SplineComponent visualizer.
#ttp 338259 - SplineComponent: Add an option flag to close the spline
#branch UE4
#proj Editor.ComponentVisualizers, Runtime.Engine

[CL 2315996 by Richard TalbotWatkin in Main branch]
2014-10-01 11:14:01 -04:00
Mieszko Zielinski
a2e29532e5 [GitHub] 435: SensingComponentVisualizer fix
by timdonks
(with minor refactoring)

[CL 2297184 by Mieszko Zielinski in Main branch]
2014-09-14 13:41:05 -04:00
Mieszko Zielinski
d55910995b [GitHub] 323: New SensingComponentVisualizer
by timdonks

[CL 2253076 by Mieszko Zielinski in Main branch]
2014-08-12 11:18:17 -04:00
Marc Audy
990d32289d Collect all potential attenuation shapes for an audio component correctly
[CL 2236293 by Marc Audy in Main branch]
2014-07-29 17:33:16 -04:00
Richard TalbotWatkin
21f4bd5f3f Miscellaneous improvements to SplineComponentVisualizer.
#ttp 341724 - FEATURE REQUEST: PAPER2D: Add or insert a key into a terrain spline
#ttp 341720 - FEATURE REQUEST: PAPER2D: Rename Key on terrain splines
#ttp 341378 - Spline Component/Meshs: Controls points only editable in worldspace. no localpace transformation
#reviewedby James.Golding

[CL 2228433 by Richard TalbotWatkin in Main branch]
2014-07-23 09:40:19 -04:00
Ori Cohen
eae671c927 Expose constraint angular reference frame offset
[CL 2122365 by Ori Cohen in Main branch]
2014-06-30 17:05:40 -04:00
Richard TalbotWatkin
8515ee0486 Further SplineComponent improvements:
- Changed USplineComponent::SplineReparamTable to a transient member and force rebuild each time in PostLoad() / PostDuplicate().
- Initialize the SplineReparamTable size at the start to save needless reallocations (as its size is known from the beginning).
- Added menu options to set spline key types (curve, linear, constant)
- Added Reset to Automatic Tangent to allow resetting to either a clamped or an unclamped tangent.
#branch UE4
#proj Runtime.Engine, Editor.ComponentVisualizers
#reviewedby James.Golding, Michael.Noland

[CL 2119717 by Richard TalbotWatkin in Main branch]
2014-06-27 14:18:10 -04:00
Richard TalbotWatkin
24345aa70c Improvements to SplineComponent, and added a new way of handling UI Command Lists.
#add Added a new FUICommandList::ProcessCommandBindings overload, which can be called from a Viewport Client's InputKey() method (in the absence of an FKeyboardEvent object).
#add Fixed key binding handling in SplineComponentVisualizer so that it works through the FUICommandList, instead of being hardcoded.
#change USplineComponent - changed method by which spline reparam table is created (now uses the old method of splitting each segment into a fixed number of steps, instead of using fixed arc length reparameterization, which doesn't lead to such good results where the distance between control points varies largely throughout the spline).  The ReparamStepsPerSegment parameter remains, although I'd like to remove it when I can hit upon a better way to adaptively step through the spline.  Merged UpdateSplineReparamTable and AutoSetTangents into a single UpdateSpline method.
#add Added a parameter to FInterpCurve::AutoSetTangents - bStationaryEndpoints - which determines whether the endpoints should be assigned zero tangents, or whether the tangents should be set in order to extrapolate the curve beyond the endpoints, essentially providing a constant velocity at the start/end.
#add Added bStationaryEndpoints as an editable parameter to USplineComponent.  Use this if you only wish to traverse the spline at constant velocity, as it will lead to more accurate results.
#codereview James.Golding, Michael.Noland

[CL 2112073 by Richard TalbotWatkin in Main branch]
2014-06-20 14:38:07 -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
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
Michael Noland
d165a31e16 Editor: Make spline editing widgets draw in foreground mode
#codereview james.golding

[CL 2102708 by Michael Noland in Main branch]
2014-06-12 00:41:53 -04:00
Michael Noland
4e77d916bf Editor: Splines now trigger a PostEditChangeProperty on the component when modified via the component visualizer
#codereview james.golding

[CL 2101367 by Michael Noland in Main branch]
2014-06-11 00:20:55 -04:00
Michael Noland
167cf1657f Editor: Made component visualizers hierarchical
#codereview james.golding

[CL 2101366 by Michael Noland in Main branch]
2014-06-11 00:20:45 -04:00