Commit Graph

39 Commits

Author SHA1 Message Date
Mikolaj Sieluzycki
466e9d9195 Swap order of PostEditChange on CDO/archetype and propagating property change to instances.
CapsuleComponent Shape sometimes reverts to previous value after entering a new value.

[CL 2520692 by Mikolaj Sieluzycki in Main branch]
2015-04-22 03:43:44 -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
Bob Tellez
b8db9d318c Merging CL#2453328 using UT_To_UE4. Fixing a crash when trying to convert an enum to a string or text when the value of the enum is outside it's bounds.
[CL 2453403 by Bob Tellez in Main branch]
2015-02-20 12:24:15 -05:00
Matthew Griffin
af8c523ddd [INTEGRATE] Change 2433594 by Maciej.Mroz@maciej.mroz_D1729_1322 on 2015/02/05 10:21:50
UE-8999 crash editing a public variable in my blueprint

	#codereview Matt.Kuhlenschmidt

[CL 2441372 by Matthew Griffin in Main branch]
2015-02-11 06:13:53 -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
Jamie Dale
6b008d0722 Fixed code relying on the version of SWidget::SetToolTipText that took an FString
Made sure everything was using FText rather than FString, and also updated the property editor API to return tooltips as FText rather than FString.

[CL 2373917 by Jamie Dale in Main branch]
2014-12-02 13:48:53 -05:00
Jamie Dale
f440490671 Converted the property editor to use FText
The display name, filter string, and tooltips for the property editor (and associated detail customizations) are now stored as FText rather than FString. This allows us to remove SLATE_TEXT_ARGUMENT from the detail customization widgets.

[CL 2372595 by Jamie Dale in Main branch]
2014-12-01 11:19:41 -05:00
Dmitry Rekman
c90820f132 Fixing || and && in the same scope.
- Changed the behavior in one case since the intent seems to have been different.

#codereview Maciej.Mroz

[CL 2362984 by Dmitry Rekman in Main branch]
2014-11-17 23:30:10 -05:00
Mikolaj Sieluzycki
d43e69c4b9 Prepare cpp files for header cleanup.
#codereview Robert.Manuszewski

[CL 2356854 by Mikolaj Sieluzycki in Main branch]
2014-11-12 04:43:54 -05:00
Maciej Mroz
de14c41e95 Cis fix, missing hader
[CL 2351685 by Maciej Mroz in Main branch]
2014-11-06 15:20:42 -05:00
Maciej Mroz
5605d3f5d3 Fill UDS in arrays with default values [UE-4800]
[CL 2351537 by Maciej Mroz in Main branch]
2014-11-06 15:16:32 -05:00
Maciej Mroz
c802bf8fa2 UE-4760 FPropertyValueImpl::GetValueData: check if Property is null, refactor.
Btw. Property is never really used.

#codereview Matt.Kuhlenschmidt

[CL 2344869 by Maciej Mroz in Main branch]
2014-10-30 10:03:01 -04:00
Nick Darnell
b379eee322 Editor - The PropertyHandles now apply property changes even if the values are the same, if we're coming out of an interactive change, like the color picker, you're dragging the color around, the last color you pick will already be the same value set, however it will have previously only been set with interactive flags, if the final one is non-interactive it will be applied again for anyone watching for the non-interactive change.
#codereview matt.kuhlenschmidt

[CL 2337184 by Nick Darnell in Main branch]
2014-10-22 13:36:29 -04:00
Andrew Brown
2bb6b0dc1b Modify CreatePropertyNameWidget so that the tooltip (like with the name) is also overrideable. (and fixedup usage).
[CL 2335803 by Andrew Brown in Main branch]
2014-10-21 11:13:59 -04:00
Ben Marsh
f373185b63 [INTEGRATE] Change 2305458 by Maciej.Mroz@maciej_mroz_D1729 on 2014/09/22 08:23:49
The default (6 digits after point) string representation of float is used in PropertyEditor. It's the highest exact precision, and it's used everywhere else in the code.

	ttp 346819 Cannot recompile a blueprint
	The issue was introduced in cl#2228482

	#codereview Thomas.Sarkanen, Nick.Whiting

[CL 2306818 by Ben Marsh in Main branch]
2014-09-23 09:48:57 -04:00
Michael Noland
d01f8b5283 Core: Remove unused bChangesTopology member from FPropertyChangedEvent and removed most uses, in preparation for deprecating the three-argument constructor
#codereview matt.kuhlenschmidt

[CL 2304635 by Michael Noland in Main branch]
2014-09-19 19:00:52 -04:00
Zak Middleton
56440d88d8 #ue4 - Strip "@see" from the end of all tooltips for enums. Make enums use UEnum::GetToolTipText() rather than reading metadata directly.
- Also converted related functions to use static strings.

#codereview Marc.Audy, Saul.Abreu

[CL 2303296 by Zak Middleton in Main branch]
2014-09-18 18:44:50 -04:00
Maciej Mroz
29aa1cb83b Class Viewer gives actual information (about Placeable flag) for unloaded assets.
OnlyPlaceable metadata added. Indicates whether only placeable classes should be shown in the class picker.
More robust AGameMode::PreInitializeComponents

ttp345655 CRITICAL: CRASH: BLUEPRINT: adding GameMode blueprint as a child actor

[CL 2295026 by Maciej Mroz in Main branch]
2014-09-12 08:04:14 -04:00
Martin Mittring
c97b5c65da fixed TTP 345881 EDITOR: TextRenderActors do not reconize Capitalization as a change
#code_review:Matt.Kuhlenschmidt

[CL 2286719 by Martin Mittring in Main branch]
2014-09-05 17:49:18 -04:00
Matt Kuhlenschmidt
4fc628d9f5 Fix crash accessing property text
[CL 2286184 by Matt Kuhlenschmidt in Main branch]
2014-09-05 08:50:17 -04:00
Gareth Martin
7a46d1ff81 Allow undoing changes to the Landscape "New Landscape" panel
Fix crash when replacing material in the "New Landscape" panel with one with fewer material layers (or null)
Fix undo transactions for "interactive" changes (e.g. sliding sliders) so they don't flood the undo buffer with one transaction for every sub-step of the change

[CL 2256153 by Gareth Martin in Main branch]
2014-08-14 10:04:06 -04:00
Michael Trepka
5bd6255fde More Clang compile warning fixes
[CL 2237347 by Michael Trepka in Main branch]
2014-07-30 14:51:27 -04:00
Matt Kuhlenschmidt
ebcbdd05bb UMG - Animations now only evaluate the parts of multi-component curves (e.g, margin, color, vector) which have keys. If a curve has no keys the current value of the field is not changed
[CL 2234836 by Matt Kuhlenschmidt in Main branch]
2014-07-28 15:15:42 -04:00
Matt Kuhlenschmidt
1ad8b4fcd5 UMG Sequencer keying:
- Added ability to key into UMG animations via the details panel
- Fixed some undo/redo issues in sequencer related to autokey
- Fixed auto-key causing property migration

[CL 2231142 by Matt Kuhlenschmidt in Main branch]
2014-07-24 23:52:28 -04:00
Thomas Sarkanen
3a48287427 Fixed FTransform details customization not dirtying packages correctly.
Made sure to call NotifyFinishedChangingProperties so that packages are dirtied when editing values.
Also increased precision in floating-point SetValue. We should not go via strings to do this, but we dont have any other way at the moment, so this is the next best thing.

TTP# 341202 - BLUEPRINT:  A transforms default value does not get carried over from the set values in its structure

reviewed by Andrew.Brown

[CL 2228482 by Thomas Sarkanen in Main branch]
2014-07-23 10:36:08 -04:00