greerdv
622a9bc009
merge from development
...
Signed-off-by: greerdv <greerdv@amazon.com>
4 years ago
Steve Pham
73f8537030
Fix Issue saving new assets in Asset Editor on Linux ( #4537 )
...
* Add helper function to apply a selected file filter from a file dialog to the result filename if needed
* Add platform traits to restrict the use of the helper function on platforms that need to apply it
* Fix building of file filters of multiple extensions for a file type
Signed-off-by: Steve Pham <spham@amazon.com>
4 years ago
greerdv
c562f0a807
small improvements to triangle mesh rigid body warning
...
Signed-off-by: greerdv <greerdv@amazon.com>
4 years ago
amzn-sean
43748c37fd
update joints to use cluster viewport ui. ( #4352 )
...
also some joints Component mode cleanup.
Signed-off-by: amzn-sean <75276488+amzn-sean@users.noreply.github.com>
4 years ago
Artur K
f44169f7fa
Cleanup SerializeContext.h pt.1 ( #4264 )
...
* Remove AssetSerializer inclusion from SerializeContext header
Moved a few Reflect methods to new cpp files.
In addition, some preparations for further header dependency reductions.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Fix smoke test lua failures.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Windows build fixes.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Missing license headers
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Fix white-space issues.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Code review fix for AzToolsFramework/AssetEditor/AssetEditorBus.h
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Fix inheritance list wrapping broken by older clang-format
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
Danilo Aimini
a9091b0a72
Minor changes to comments
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
Danilo Aimini
0413f3b7e2
Merge branch 'development' of https://github.com/o3de/o3de into daimini/dpiIssues/floatingWidgetFlickerBetweenScreens
4 years ago
Danilo Aimini
50e4d549f4
Add comments
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
Danilo Aimini
f111b67df6
Fix issue with one frame flicker in the transition between paint modes.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
Danilo Aimini
81bd7b1f5f
Implement a system that resizes the ghost widget appropriately to avoid undefined behavior due to it being moved into the gap between screens caused by scaling.
...
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
Esteban Papp
36b7cb2814
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
# Conflicts:
# Code/Framework/AzCore/AzCore/Memory/HeapSchema.h
# Code/Framework/AzCore/AzCore/Memory/HphaSchema.h
# Code/Framework/AzCore/AzCore/Memory/MallocSchema.h
# Code/Framework/AzCore/AzCore/Memory/OverrunDetectionAllocator.h
4 years ago
Danilo Aimini
c0426ba465
PerScreenDpi | QLabels incorrectly handle scale for icons ( #4070 )
...
* Fixes to icon generation. Generating a pixmap out of a size won't take the screen scaling factor into account, resulting in blurry results.
Note that this is not a catchall solution, every case needs to be addressed manually.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
* HighDpi fixes for startup splashscreen and About dialog
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
* Add helper function to generate appropriate pixmaps for a screen based on its dpi settings.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
Esteban Papp
ee2e728760
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Danilo Aimini
850d401bb3
PerScreenDpi | Moving windows between screens with different scale changes the window size ( #4064 )
...
* Fix window size when dropped on a screen with a different scale setting compared to the one it was dragged from.
Note that this fixes a bug that could only be reproduced with the PerScreenDpiAware setting activated - current editor uses SystemDpiAware.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
* Fix loss of precision warning.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
Danilo Aimini
2b7caa685b
Introduce default font size. This fixes sizing and spacing for text rendered via a painter with not font specified. ( #4069 )
...
Also removed some qss for windows that have been removed.
Signed-off-by: Danilo Aimini <82231674+AMZN-daimini@users.noreply.github.com>
4 years ago
Esteban Papp
5965760612
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp
81749ac318
Improves numeric_cast compilation ( #3995 )
...
* Improves numeric_cast compilation:
before: 872s
after: 824s (5.5% reduction)
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp
9f6d4125b8
Merge branch 'development' into cmake/warn_virtual
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
AMZN-koppersr
f9ce966103
Merge pull request #3440 from aws-lumberyard-dev/Prefab/SaveAllPrefabs
...
Provide options to save prefabs when saving levels
4 years ago
Esteban Papp
f414cd3966
More fixes
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp
28795c8f5c
Fixes AzQtComponents
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
srikappa-amzn
fbf92e9775
Merge branch 'development' into Prefab/SaveAllPrefabs
...
Signed-off-by: srikappa-amzn <srikappa@amazon.com>
4 years ago
Artur K
567c0ae24d
Modernization + AZStd::function compare fix. ( #3680 )
...
* Modernization + small fix.
Modernize ( `bool`/`override`/other) code in AzCore, AzFramework, AzQtComponents, AzToolsFramework, etc.
Replaced a `bind` or two, use `using` in a few places as well.
Fix nullptr comparison of AZStd::function.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
* Apply review-based changes
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com>
4 years ago
Chris Galvan
043b218165
Updated invalid filename warning with more explicit message from PR feedback.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Chris Galvan
d590a91fe7
Implemented helper method of QFileDialog::getSaveFileName to prevent user from saving files with invalid names.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Esteban Papp
31addc43dc
Windows and Linux compiling
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp
6bdef50444
Code/Framework
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp
fbbcdfd3ca
Code/Framework/AzQtComponents
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
Esteban Papp
9245a31196
more fixes for Code
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
srikappa-amzn
c20ec14af7
Added comments and did some code clean up
...
Changes in this commit:
- Added comments to dialog code in CryEdit.cpp and CryEditDoc.cpp
- Moved Code/Framework/AzQtComponents/AzQtComponents/Components/img/UI20/Cards/warning.svg to Code/Framework/AzQtComponents/AzQtComponents/Images/Notifications/warning.svg
- Improved the hover message over prefab settings in EditorPreferencesPageGeneral.cpp
- Fixed a syntax error in Editor.qss
Signed-off-by: srikappa-amzn <srikappa@amazon.com>
4 years ago
Esteban Papp
1e136a02b0
Merge branch 'development' into cmake/SPEC-2513_w4244
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
# Conflicts:
# Code/Framework/Crcfix/crcfix.cpp
4 years ago
John Jones-Steele
740ee1f8a4
Fixed wheel working on spinbox non focussed
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
4 years ago
Esteban Papp
3eb658534b
More Code/Framework
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
sphrose
181698b950
LY-91616 Dyn Veg: Push (up) and Pop (down) Items in Descriptor List ( #3013 )
...
* LY-91616 Dyn Veg: Push (up) and Pop (down) Items in Descriptor List
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
* Changes as per reviews.
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
* Additional review changes.
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
* review change
Signed-off-by: sphrose <82213493+sphrose@users.noreply.github.com>
4 years ago
Chris Galvan
2063e7f2dd
Added missing header include.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Chris Galvan
b5828e327d
Moved custom tree view dragging logic from Entity Outliner to common class so it could be re-used for the UI Editor tree view.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Esteban Papp
2147b1d128
Merge branch 'development' into cmake/SPEC-7484
4 years ago
John Jones-Steele
86d0ba7e6b
Minor changes to tests
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
4 years ago
John Jones-Steele
3b60862237
Fixed order of tests
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
4 years ago
John Jones-Steele
12505da6fc
Changed locale handling and added tests
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
4 years ago
Esteban Papp
3f6335dc32
Fixes for AzQtComponents
...
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
4 years ago
John Jones-Steele
73706fa04e
Added Tests to check code is correct
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
4 years ago
John Jones-Steele
b1922fe95e
Changed comment to reflect PR
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
4 years ago
John Jones-Steele
a33bc107be
Fixed number truncation in deisplayed values
...
Signed-off-by: John Jones-Steele <jjjoness@amazon.com>
4 years ago
Chris Galvan
e6927ffc14
Merge pull request #2359 from aws-lumberyard-dev/cgalvan/ImproveAutoResizingOfDialogs
...
Improved auto-resizing when centering dialogs when they are first displayed.
4 years ago
Chris Galvan
8cf7f8ed7b
Update to check both width and height at the same time.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Chris Galvan
ce3b9e2917
Improved auto-resizing when centering dialogs when they are first displayed.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Chris Galvan
edbe05bd81
Fixed Project Manager to enable save/restore of the window geometry so its window position/sizing will be restored after it is closed/re-launched. Also improved WindowDecorationWrapper logic to center by default when using the showFromSettings API for first time launch.
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com>
4 years ago
Guthrie Adams
7cb2f62d4b
Merge pull request #1250 from aws-lumberyard-dev/lawalfua/commonToolsApplication
...
Addition of a base AzQtToolsApplication class
4 years ago
Steve Pham
38261d0800
Shorten copyright headers by splitting into 2 lines ( #2213 )
...
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines
Signed-off-by: Steve Pham <spham@amazon.com>
4 years ago