You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools/SerializeContextTools
Mike Balfour d90a3d46a7
Support for nested slice conversions (#1121)
This set of changes enables conversions for singly-nested slices. Multiple nesting hierarchies are only partially supported at this point. Conversion is also significantly more deterministic, which makes it easier to convert single slices without needing to reconvert every slice or level that relies on it as well.
Changes:

- Added version of Instance::AddInstance() that takes in an alias to allow for deterministic aliases
- Added a "SliceConverterEditorEntityContextComponent" that's used to specifically disable entity activation on creation. The disabling is done this way vs adding a new public API, because the disable shouldn't be required in any normal case outside of this tool.
- Disabled more AWS gems for the SliceConverter, as they're unneeded and cause issues if they're around in the tool.
- Added a small null check to the Camera Controller.
- Added the actual support for slice instance conversion. This instantiates the entities, applies the data patches, turns them into a prefab instance, and generates a JSON patch out of the changes.
5 years ago
..
Platform Add newlines to the end of all files 5 years ago
Application.cpp Support for nested slice conversions (#1121) 5 years ago
Application.h Added initial support for nested slices to slice-prefab converter (#881) 5 years ago
CMakeLists.txt Change SerializeContextTools into a ToolsApplication so that it can correctly read in slice data: 5 years ago
Converter.cpp First version of the slice-to-prefab converter 5 years ago
Converter.h First version of the slice-to-prefab converter 5 years ago
Dumper.cpp First version of the slice-to-prefab converter 5 years ago
Dumper.h Add newlines to the end of all files 5 years ago
SliceConverter.cpp Support for nested slice conversions (#1121) 5 years ago
SliceConverter.h Support for nested slice conversions (#1121) 5 years ago
SliceConverterEditorEntityContextComponent.h Support for nested slice conversions (#1121) 5 years ago
Utilities.cpp First version of the slice-to-prefab converter 5 years ago
Utilities.h First version of the slice-to-prefab converter 5 years ago
main.cpp Support for nested slice conversions (#1121) 5 years ago
serializecontexttools_files.cmake Support for nested slice conversions (#1121) 5 years ago