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/Gems/Atom/Tools/MaterialEditor/Code/Source/Document
Guthrie Adams f8ca427954
Fixed several material editor bugs related to file paths and hot reload prompts (#6374)
* draft

Signed-off-by: Guthrie Adams <guthadam@amazon.com>

* Removes automatic generation of relative paths for external references for materials
Updated material editor functions for creating new materials, creating or saving model or lighting presets, to save to the project asset folder instead of the material folder which is not included in the new templates
Changed function for getting saved file names to handle case where Qt save file dialog adds double extensions if the extension contains a dot

Signed-off-by: Guthrie Adams <guthadam@amazon.com>

* Fixed problems with material editor hot reloading after documents or dependencies changed.
Triggering message boxes within the tick function, which is executed from the main application timer, caused the tick function to be called a second time recursively.
Switched from using the tick bus to a timer so that the documents re opening and dialogs are triggered outside of the main tick.

Signed-off-by: Guthrie Adams <guthadam@amazon.com>
4 years ago
..
MaterialDocument.cpp Fixed several material editor bugs related to file paths and hot reload prompts (#6374) 4 years ago
MaterialDocument.h Removed the 'data-warnings' concept for checking before saving a material document. It's no longer necessary since we no longer replace the original data with placeholders. 4 years ago
MaterialDocumentModule.cpp Moved material editor document system buses and system components to atom tools framework 5 years ago
MaterialDocumentSettings.cpp Moved material editor document system buses and system components to atom tools framework 5 years ago
MaterialDocumentSystemComponent.cpp Moved material editor document system buses and system components to atom tools framework 5 years ago
MaterialDocumentSystemComponent.h Moved material editor document system buses and system components to atom tools framework 5 years ago