• This change is partially to unblock physics tool prototyping. It introduces a tool ID that is passed down into systems and acts as a context for document, window, and other systems and buses.
• The document system component is no longer a component. It is just a system class that can be constructed with a tool ID. Internally, it will connect to its buses and be addressable by tool ID. More than one can be instantiated, each with a unique tool ID.
• These changes are still backward compatible because most of the buses were using broadcast for standalone applications. All of those calls have been updated but not all of the scripts, which should still work as is.
• Got rid of the window factory request bus in favor of just instantiating the main window or any other UI in the application layer.
• Fixed a couple of bugs that were discovered while making these changes.
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
• This removes a direct dependency on dynamic property groups and data from the document system.
• Added support for names, descriptions, and nesting to dynamic property groups.
• Moved property related functions from base document classes into material editor document classes because dynamic property groups are an implementation detail of the material editor document to support material type flexible data format.
• Change material document to use a table of dynamic property groups instead of a map of properties.
• Added functions to traverse groups and properties.
• This keeps groups and properties organized consistently with the material type file as well as what’s expected in the UI.
• Document data can now be maps directly to the inspector reflective property editors instead of copying one property at a time out of the document and keeping those synchronized.
Signed-off-by: Guthrie Adams <guthadam@amazon.com>
* moving material editor test from sandbox to main suite
Signed-off-by: Scott Murray <scottmur@amazon.com>
* define TEST_DIRECTORY and add logging
Signed-off-by: Scott Murray <scottmur@amazon.com>
* Level component helper and test cases for Atom Level components which currently crash
Signed-off-by: Scott Murray <scottmur@amazon.com>
* moved a close paren to end of previous line to match existing style
Signed-off-by: Scott Murray <scottmur@amazon.com>
* adding a forgotten import
Signed-off-by: Scott Murray <scottmur@amazon.com>
* minor refactor and prep for adding back the Display Mapper Game component test
Signed-off-by: Scott Murray <scottmur@amazon.com>
* putting Game compoenent Display Mapper test back with addition of setting property Enabled to true
Signed-off-by: Scott Murray <scottmur@amazon.com>
* typo in line fixed Test. bocomes Tests.
Signed-off-by: Scott Murray <scottmur@amazon.com>