Commit Graph

12 Commits

Author SHA1 Message Date
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
Richard TalbotWatkin
2647b4ead2 Improvements to SplineComponent and its visualization.
#branch UE4
#proj Editor.ComponentVisualizers, Editor.UnrealEd, Runtime.Core, Runtime.Engine
#change FInterpCurve now uses a binary search to obtain the correct key. Removed the optional out-parameter on Eval, EvalDerivative, etc. Removed  FORCEINLINEs on large methods.
#change USplineComponent now builds the remap table with points spaced at equal distances, which leads to better results.  Added internal methods to obtain the segment length, and the interpolation parameter along the segment at a given distance.
#add Added Duration to USplineComponent.
#add Added a number of different methods for obtaining position, tangent and rotation at a specified distance, or a specified time (optionally at constant velocity).
#add Added methods for building the spline procedurally.
#add Supports right-click context menu on ComponentVisualizers in the standard interface.
#add Key tangents can be manually edited.
#change FLevelEditorViewportClient::ProcessClick now handles right clicks to the Unreal gizmo in the same manner as left clicks, i.e. the method recurses using a version of the hit proxy with the gizmo removed, so we can look at what's underneath.  This allows for "genuine" context menus, i.e. depending on what was clicked, instead of using a single default provided by the current level editor.
#reviewedby James.Golding

[CL 2089561 by Richard TalbotWatkin in Main branch]
2014-05-30 07:58:16 -04:00
James Golding
8429c9502c Improve spline remap table resolution
Notify actor of changes as we modify spline

[CL 2077748 by James Golding in Main branch]
2014-05-19 11:37:55 -04:00
James Golding
3833381459 Pass FComponentInstanceDataCache into OnConstruction, allowing us to apply data before running UCS
Remove ComponentInstanceDataCache.h from ActorComponent.h
Remove SplineComponent.h from Engine.h
Change splinecomp funcs to get get location/direction at point on spline to be world space (and normalized direction vector)
Update reparam table when editing spline
#codereview marc.audy

[CL 2077607 by James Golding in Main branch]
2014-05-19 09:42:46 -04:00
James Golding
869a79a418 Default to spline with auto tangents
Remove minor ticks
Misc fixes
Expose basic BP API

[CL 2075888 by James Golding in Main branch]
2014-05-16 15:43:46 -04:00
James Golding
85206f3f5b Initial checkin for editor functionality in ComponentVisualizers
Simplified SplineComponent, now a SceneComponent not a PrimitiveComponent
Added support for persisting SplineComp state across CS re-run
SplineComponentVisualizer editing started

[CL 2075479 by James Golding in Main branch]
2014-05-16 09:37:22 -04:00
Mikolaj Sieluzycki
bbcea54981 #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2055361 by Mikolaj Sieluzycki in Main branch]
2014-04-24 08:49:31 -04:00
Robert Manuszewski
86174fbbdf Back out changelist 2054304
[CL 2054447 by Robert Manuszewski in Main branch]
2014-04-23 20:18:11 -04:00
Mikolaj Sieluzycki
e9351fe5de #ttp 303393 UObject improvement: Remove header groups
#proj core
#branch UE4
#summary Removed header groups, removed some redundant includes and replaced with forward declarations. Fixed compilation errors.

[CL 2054304 by Mikolaj Sieluzycki in Main branch]
2014-04-23 20:15:15 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00