diff options
author | Mahmoud Badri <mahmoud.badri@qt.io> | 2020-03-26 15:36:17 +0200 |
---|---|---|
committer | Mahmoud Badri <mahmoud.badri@qt.io> | 2020-03-26 18:51:31 +0000 |
commit | b9fb5b65f68725f849e447f3a1e742cb9094b07d (patch) | |
tree | fb85d1d2af3adb49ab0d9f899ce2e61d1554fa36 /src/libs/qmljs/qmljsplugindumper.cpp | |
parent | 2246718cac8844d6f6c7223c041dd908b66bfbcb (diff) | |
download | qt-creator-b9fb5b65f68725f849e447f3a1e742cb9094b07d.tar.gz |
QmlDesigner: Enable setting a material's diffuseMap by drag and drop
Dragging and dropping an image from the assets on a default material
creates a texture and sets its source the the image and the applies
the texture to the diffuseMap property of the material making it
pretty straight forward to set a texture on a marerial.
Additionally dropping an image on a texture updates the texture's source
property instead of creating an image object.
Task-number: QDS-1844
Change-Id: I6906851ad070e06a17b1ef7d4321e302bb305d29
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'src/libs/qmljs/qmljsplugindumper.cpp')
0 files changed, 0 insertions, 0 deletions