Commit Graph

42 Commits

Author SHA1 Message Date
Maciej Mroz
97123921a2 Properties names in FBox2D USTRUCT are the same like in struct FBox2D implementation.
[CL 2641862 by Maciej Mroz in Main branch]
2015-08-03 09:57:53 -04:00
Jaroslaw Palczynski
2c16d2b417 FStringAssetReference fixes.
All changes regarding e-mail discussion titled "Asset registry shenanigans".

Changes:
1. Engine now actively is getting rid of short asset paths in FStringAssetReference during saving (for all packages) and loading (only for older packages).
2. Deprecated direct access to FStringAssetReference.AssetLongPathname and exposed it via ToString and SetPath -- SetPath is making sure the path is in correct format. If the path can't be found on disk, the path is cleared.
3. Also access to FStringAssetReference.AssetLongPathnam via Blueprints is guarded using custom Make node function that uses SetPath instead of simple assign.
4. StringAssetReferenceMap will now contain only paths to packages (not objects) and ini references
5. GetDependencies now has additional parameter that lets you chose if it should resolve ini references or not. It was left not as default to keep old behaviour.

[CL 2630589 by Jaroslaw Palczynski in Main branch]
2015-07-23 10:49:29 -04:00
Michael Noland
e934c69761 Blueprints: Changed display of FRotator values to be XYZ and in that order (RPY) instead of PYR
#jira UE-17360

[CL 2614172 by Michael Noland in Main branch]
2015-07-08 17:06:15 -04:00
Dmitriy Dyomin
c0bf9f06dd Custom UV region for FSlateBrush. When valid - slate will use brush UV instead of UV specified in resource proxy.
Slate resource manager accepts UTexture2Dynamic as a resource.
#codereview matt.kuhlenschmidt

[CL 2599980 by Dmitriy Dyomin in Main branch]
2015-06-24 22:23:06 -04:00
Richard Hinckley
b50635beee Enum comment fixes. First batch.
[CL 2582903 by Richard Hinckley in Main branch]
2015-06-10 12:54:31 -04:00
Michael Schoell
873110cd11 Can now Make and Break the Timespan struct in Blueprints.
Extension of CL# 2569222

#jira UE-16117 - DateTime structs can't be initialized or edited in Blueprints

[CL 2569281 by Michael Schoell in Main branch]
2015-05-28 16:24:04 -04:00
Michael Schoell
d3aa0a9b09 Can now Make and Break the DateTime struct in Blueprints.
#jira UE-16117 - DateTime structs can't be initialized or edited in Blueprints

[CL 2569222 by Michael Schoell in Main branch]
2015-05-28 16:00:35 -04:00
Richard TalbotWatkin
a3cfc2f2bb Big revamp to SplineComponent (continuing work-in-progress).
#jira UE-11822 - Add up vector, roll and scale properties to USplineComponent which can be used when calculating rotations/transforms at a point on the spline
#jira UE-13333 - BP spline components do not update when setting points
#jira UE-3637 - SplineComponent: Add a get transform at distance accessor

Summary of changes:
- FInterpCurve now natively understands looping. A input key can be set, at which point the spline will loop back to its start point.  Adjusted FInterpCurve methods to take looped curves into account.
- Fixed bugs in FInterpCurve regarding returning default values (T(ForceInit) instead of T() otherwise FVectors and FQuats are not initialized correctly).
- SplineComponent now holds three separate splines (location, rotation and scale).
- The SplineReparamTable is no longer transient, but is built and saved as part of the asset.
- Changed the SplineComponent API. All methods now take a ESplineCoordinateSpace value which specifies whether the values are intended for use in local or world space. The old methods have been deprecated but not removed (for now).
- bAllowSplineEditingPerInstance is deprecated. A new member (bSplineHasBeenEdited) has superseded it, and is set automatically when editing the spline with the visualizer. Added "Reset to Default" option in the visualizer, which restores the archetype defaults.
- SplineComponentVisualizer determines if spline points have been initialized by the user construction script, and, if so, will disallow editing. This is to conform with the general idea that the UCS always overrides property values.
- Fixed a number of bugs in the visualizer, and added new facilities to allow the scale and rotation to be edited (still work-in-progress).

[CL 2524087 by Richard TalbotWatkin in Main branch]
2015-04-24 06:25:50 -04:00
Andrew Rodham
86850fe0f8 Changed editor project unit settings to be more flexible
Users can now choose a set of relevant units to display applicable properties in.
Setting a single unit for a given type will result in only that unit ever being used. When multiple exist, the most appropriate unit will be shown when a property editor is opened, and will remain in this unit until something else is selected.

[CL 2519064 by Andrew Rodham in Main branch]
2015-04-21 08:27:25 -04:00
Jaroslaw Palczynski
d9e4f8f862 UE-8954: Update commonly-subclassed actor and component classes to take a default FObjectInitializer constructor argument.
[CL 2518882 by Jaroslaw Palczynski in Main branch]
2015-04-21 04:37:32 -04:00
Marc Audy
5c936c7c3e Remove virtual from BlueprintImplementableEvents that have clear native virtual already
[CL 2483629 by Marc Audy in Main branch]
2015-03-18 17:50:49 -04:00
Jaroslaw Palczynski
8e8aa26725 Changed "WITH_HOT_RELOAD && WITH_HOT_RELOAD_CTORS" to "WITH_HOT_RELOAD_CTORS".
#codereview Robert.Manuszewski

[CL 2467443 by Jaroslaw Palczynski in Main branch]
2015-03-03 05:28:51 -05:00
Jaroslaw Palczynski
3c450b9477 UE-10111: Hot Reload crash with Scene Component tied to Actor class
We've changed the way vtable ptr are obtained for UClasses. Right now we use special empty constructor to get it, so we don't have to use normal one which was causing troubles. This special vtable helper constructor is generated automatically for most cases, but sometimes it's not possible (e.g. no default constructor for members types). In such case there is a possibility to override that generated constructor and write a custom one. The signature is UCustomClass::UCustomClass(FVTableHelper& Helper) and it needs to call base class'es constructor with the same parameter. Please do not use these constructors for anything else. There is no guarantee the object will be in correct state after calling this.

You can still disable this functionality if something breaks, just set WITH_HOT_RELOAD_CTORS to 0.

[CL 2466152 by Jaroslaw Palczynski in Main branch]
2015-03-02 06:44:04 -05:00
Laurent Delayen
e586cd3a8f Dev to Main integration from CL #2446290
[CL 2456855 by Laurent Delayen in Main branch]
2015-02-23 15:58:14 -05:00
Dmitriy Dyomin
715f28666d Templatized FInterval
Added Interval details customization, prerequisite for new foliage UI

[CL 2439365 by Dmitriy Dyomin in Main branch]
2015-02-10 00:12:23 -05:00
Ryan Gerleve
b63812acd1 Remove obsolete FNetworkGUID USTRUCT, FNetworkGUIDs should not be UPROPERTY()s
#codereview john.pollard

[CL 2412261 by Ryan Gerleve in Main branch]
2015-01-20 11:08:05 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Dan Oconnor
8c490369bc GitHub pull request #618 from user stephenwittle. Forced calls to the FRandomStream constructor when creating an FRandomStream in a blueprint. Does not work for FRandomStreams located on the CDO (see UE-5974)
[CL 2370372 by Dan Oconnor in Main branch]
2014-11-25 19:48:01 -05:00
Niklas Smedberg
f39fe4e6a2 Integrated Intel ISPC texture compression for BC6H / BC7
[CL 2365669 by Niklas Smedberg in Main branch]
2014-11-19 19:14:13 -05:00
Michael Noland
6d2b7ff428 Editor: Add LogTimestampMode editor config setting to control how timestamps are displayed in the output log (still defaults to None)
[CL 2354931 by Michael Noland in Main branch]
2014-11-10 15:13:41 -05:00
Max Preussner
7bae41e1ac Core: Reverted CL# 2342799 for mock GUID properties, because it broke blueprints (does not and will not support uint32)
#CodeReview: ben.zeigler

[CL 2351025 by Max Preussner in Main branch]
2014-11-06 15:00:56 -05:00
Max Preussner
8c16aa08f5 Core: Made the mock FGuid properties match the actual types
[CL 2342799 by Max Preussner in Main branch]
2014-10-28 16:38:47 -04:00
Jaroslaw Palczynski
7c41927cf4 Rename FPostConstructInitializeProperties to something simpler
Changed it with FObjectInitializer.

UECORE-7

[CL 2328384 by Jaroslaw Palczynski in Main branch]
2014-10-14 10:29:11 -04:00
Jaroslaw Palczynski
399074d7ea DonÆt default to æpublicÆ protection level in classes.
UECORE-8

[CL 2327190 by Jaroslaw Palczynski in Main branch]
2014-10-13 10:31:50 -04:00
Jaroslaw Palczynski
cc0f6d9a4e UObject custom constructors.
In order to use new feature user have to change GENERATED_UCLASS_BODY() macro to the new GENERATED_BODY(). Then no constructor is implicitly declared. If there is no constructor declared in UCLASS then PCIP one is declared and defined that passes PCIP down to super-class. On the other hand if there is a constructor declared then UObject system expects to have one of the default or PCIP constructor to initialize a class during loading from disk, default object creation, etc. and it expects that user will declare and define one.

There is a possibility now to create UCLASS with the default constructor (i.e. no PCIP).

New macro is encouraged by standard classes and in-editor wizards templates.

#codereview Robert.Manuszewski

[CL 2325282 by Jaroslaw Palczynski in Main branch]
2014-10-10 04:34:56 -04:00