Commit Graph

24 Commits

Author SHA1 Message Date
Michael Schoell
8b42640766 Class viewer will now display unloaded Blutility, UMG, and GameplayAbility Blueprints.
#ttp 348359 - UE4: Gameplay Ability Blueprint classes do not show up in the Class Viewer picker

[CL 2318871 by Michael Schoell in Main branch]
2014-10-03 15:01:19 -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
Robert Manuszewski
26ec212687 HotReload: Better fix for old hot-reload classes in the class viewer
#ttp 345524: HotReload: Strange temporary class names are visible in Placement Browser's "All Classes" list after a HotReload

[CL 2293652 by Robert Manuszewski in Main branch]
2014-09-11 08:53:26 -04:00
Robert Manuszewski
615612d729 Making sure old classes are not visible in the class picker after hot-reload.
#ttp 345524: HotReload: Strange temporary class names are visible in Placement Browser's "All Classes" list after a HotReload

#change Marked old classes as transient, made sure they're not in root set
#change Made sure class picker rejects transient UClass objects

[CL 2292085 by Robert Manuszewski in Main branch]
2014-09-10 02:53:04 -04:00
Mike Fricker
b678b51efd Added editor notification when automatic hot reload completes
[CL 2264535 by Mike Fricker in Main branch]
2014-08-20 13:58:31 -04:00
Robert Manuszewski
8498aae74f Hot-reload from IDE
#change UBT: Added support for hot-reload when UBT is called from IDE and the current target is curring
#change Added support for hot-reload from VS to the engine
#change Refactored hot-reload functionality to a separarte module
#change Added hot-reload analytics events

[CL 2255801 by Robert Manuszewski in Main branch]
2014-08-14 03:37:01 -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
Michael Trepka
62e7793fa0 Another batch of fixes for Clang compile warnings
[CL 2237490 by Michael Trepka in Main branch]
2014-07-30 16:16:46 -04:00
Marc Audy
143c66c4cf Only Actors should be considered placeable
[CL 2237327 by Marc Audy in Main branch]
2014-07-30 14:41:25 -04:00
Andrew Brown
0879ca0738 Class viewer no longer crashes when it finds zero results.
#ttp 341701 - MAIN: EDITOR: CRASH: Editor crashes when searching for a nonexistant reparent class

#branch UE4

#change Very timing specific, the crash actually occurs (in the example) between pressing 's' then 'd' as the 's' search sets bPendingSetExpansionStates to true, then before it can refresh the list the search is updated with 'd' which will result in zero matches, however the bPendingSetExpansionStates flag is still set to true so it tries to expand something that isn't there. This change just resets the flag whenever the list is refreshed.

#change Also modified the code so it doesn't do the 'Find' if it doesn't need to, and threw in a check incase this happens again.

reviewed by Richard.TalbotWatkin

[CL 2229638 by Andrew Brown in Main branch]
2014-07-24 04:43:44 -04:00
Marc Audy
494f22bb33 Add the ability to link to object class documentation throughout the UI
[CL 2226010 by Marc Audy in Main branch]
2014-07-21 17:31:27 -04:00
Ben Cosh
57f482976b Enabled dynamic class loading in the Class picker dialog and fixed the Class viewer container expansion state tracking.
#Branch UE4
#Proj UnrealEd, ClassViewer

- enabling dynamic class loading requested by Marc Audy after encountering usability issues with the class picker dialog
- the change to the class viewer expansion map was an issue encountered once the dynamic class loading was enabled, the TSharedPtr<FString> key was hashing the container and not the string value which resulted in expansion state restoration failing and a minor bloating of the map class.

#codereview Marc.Audy, Richard.TalbotWatkin

[CL 2220513 by Ben Cosh in Main branch]
2014-07-16 06:33:28 -04:00
Richard TalbotWatkin
cc120ade5e Fixed TreeView hierarchy in Class Viewer when changing filters.
#ttp 338730 - EDITOR: Class Viewer: TreeView hierarchy in the Class Viewer can get broken
#branch UE4
#proj Editor.ClassViewer
#add Added an SClassViewer::bPendingSetExpansionStates member whose purpose is to ensure that the tree view expansion state is synched with the SClassViewer copy the following tick.  This is necessary in order to update child's expansion state when it is changed in the OnGetChildren callback (because otherwise the STreeView will clear the pending refresh flags before they have a chance to be dealt with).  Now OnGetChildren just sets this flag and forces a sync of the expansion state on the next tick, via SetExpansionStatesInTree.
#add Added an OnExpansionChanged callback to allow the local expansion state cache to remain in sync with that of the STreeView.
#add ExpandRootNodes now sets an entry in the ExpansionStateMap (as it should), so that SetExpansionStatesInTree will recurse beyond the root nodes correctly.
#reviewedby Chris.Wood

[CL 2217231 by Richard TalbotWatkin in Main branch]
2014-07-15 03:13:20 -04:00
Marc Audy
b6bfdb267e Provide documentation tooltips for classes
#codereview Lauren.Ridge

[CL 2214556 by Marc Audy in Main branch]
2014-07-14 15:35:42 -04:00
Michael Schoell
99430dae16 #summary Can now deprecate Blueprint classes via a checkbox in the Blueprint properties
#add Added a checkbox to deprecate a Blueprint, the Blueprint will no longer be placeable, children classes can no longer be made of it (or any of it's children) and no new variables can be designated in Blueprints of the BP type.

#change AddSubMenu will now take the tooltip as an FText attribute so the tooltip can be hooked up to a function

#ttp 304153 - LICENSEE: K2:  Add support for deprecating a blueprint class

[CL 2181415 by Michael Schoell in Main branch]
2014-07-09 10:32:27 -04:00
Thomas Sarkanen
694424c3c6 Added improved blackboard editor & replaced simple blackboard debug view.
Added new blackboard view based on MyBlueprint.
Class viewer can now optionally display "Display Names" for classes (this is used to make the names of blackboard entries more friendly).
SPropertyEditorEditInline now displays the class type icon as well as its name.
Blackboard entry details customization now hides the header for entries, so one level of expansion is no longer necessary.
Removed pointer to 'view' in the blackboard debugger & replaced with delegates where appropriate.
Fixed crash issue also mentioned here: https://github.com/EpicGames/UnrealEngine/pull/212
Added new detail customization used to display only the selected entry in the current blackboard.
Fixed crash when running services with no Blackboard (prevent access of NULL blackboard component).

TTP# 337669 - Behaviour Tree Editor: Integrate Blackboard debugging display with Blackboard Editor

reviewed by Andrew.Brown, Lukasz.Furman

[CL 2113798 by Thomas Sarkanen in Main branch]
2014-06-23 04:26:26 -04:00
Richard TalbotWatkin
6222f1c45e DefaultPhysicsVolume no longer appears in the convert actor list in the details panel for Brushes/Volumes. No longer allowed to drag/drop a Brush actor from the Class Viewer to the level viewport.
#ttp 338336 - CRITICAL: EDITOR: Convert Actor: Crash: Selecting DefaultPhysicsVolume as type
#branch UE4
#proj Editor.ClassViewer, Editor.UnrealEd
#remove Removed useless code in UEditorEngine::AddActor which asserted due to no UModel being associated with the ABrush CDO.
#add Made the condition more specific as to whether Brush type classes are added to the list in ClassViewer::Helpers::AddChildren_Tree and AddChildren_List, so that notplaceable ones are omitted.
#reviewedby Chris.Wood

[CL 2110230 by Richard TalbotWatkin in Main branch]
2014-06-19 02:55:51 -04:00
Max Preussner
017837289f Modules: Module Manager API cleanup pass
There is now a consistent set of methods for module loading, unloading and lookup that all behave in the same expected way.

- renamed GetModuleInterface to GetModule and made it not assert
- removed GetModuleInterfaceRef
- namespace enums to enum classes, NULL to nullptr
- moved important public methods to the top, so they're easier to discover
- added missing & improved existing documentation
- cleaned up existing use cases

[CL 2109936 by Max Preussner in Main branch]
2014-06-18 19:23:34 -04:00
Dmitry Rekman
710f0cdf3f Fixing (likely) coding errors or confusing debugging helpers.
Contributed by UE4Linux community.

#codereview Mieszko.Zielinski, Michael.Schoell, Maciej.Mroz, Michael.Trepka, Justin.Sargent, Steve.Robb

[CL 2070232 by Dmitry Rekman in Main branch]
2014-05-12 08:42:24 -04:00
James Golding
330f92c03d - Fix class picker showing skeleton classes
#codereview nick.darnell

[CL 2069173 by James Golding in Main branch]
2014-05-10 08:37:40 -04:00
Nick Darnell
68a51214dc SLATE - TAttribute<FText> Tooltips are now settable post construct on SWidgets.
[CL 2068210 by Nick Darnell in Main branch]
2014-05-09 11:22:42 -04:00
Nick Darnell
1f5a3d25ba * Introducing a new kismet compiler for widget blueprints (for UMG).
* Extending the signature of a few kismet utility methods to make it more extensible.
* Now generating a list of template widgets (currrently still components).  Able to safely build a hierarchy and then clone that into new objects without GLEO problems.
* Adding vertical and horrizontal boxes to UMG.

[CL 2052277 by Nick Darnell in Main branch]
2014-04-23 19:55:18 -04:00
Nick Darnell
b7c1140885 * Updating the SClassViewer to no longer use the EditorClassHierarchy, ran into issues with it looking at old stale data. The new approach builds the nodes using the class iterator.
* Removing the EditorClassHierarchy, as it is now no longer used in the codebase.

[CL 2048237 by Nick Darnell in Main branch]
2014-04-23 19:15:30 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00