Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
QDS 1.5.0 Beta1
-
None
-
2
-
2f99a87a3f9c9125bb898a88b263c5251be5eb23
-
QDS 3D - Week 17/18
Description
Image location is not always set correctly when creating the texture with drag and drop. This happens if the dragged image file is located for example in a separate asset folder under the project folder.
Steps to test:
- Create a project
- Add view3D
- Open the asset importer by clicking "Add New Assets" button in the Assets tab
- Locate and open the image you wish to import, e.g. the attached Cork1.png
- In the "Add Resources" dialog click "Browse" button
- In the opening "Target Directory" window create a new folder "assets" under the project and select it as a target directory
- Click OK to import the image
- Drag and drop the image from the asset tab to cubeMaterial in the navigator
- -> Texture is created but the image location is not set correctly for it
- Click texture in the navigator
- In the properties view, select "assets/Cork1.png" from the Image -> Source dropdown menu to set the source correctly
Attachments
For Gerrit Dashboard: QDS-1956 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
297642,3 | QmlDesigner: Fix material texture not updating after image DnD | 4.12 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |