View Issue Details

IDProjectCategoryView StatusLast Update
0006046DarkRadiantGUIpublic06.08.2022 05:50
ReporterDragofer Assigned Togreebo  
Status resolvedResolutionfixed 
Product Version3.0.0 
Target Version3.1.0Fixed in Version3.1.0 
Summary0006046: Material editor: image thumbnails use "scale" keyword from previously selected material
DescriptionThe material editor shows thumbnail previews for each of the images in the "Basic" tab. Like the preview they also take the "scale" keyword into account, but they seem to read the "scale" keyword from the material that was previously selected. So selecting a material with scale 2,2 would show thumbnails with 1 tile, then selecting a material with no scale keyword would show thumbnails with 4 tiles.
Steps To Reproduce1) Search for "tdm_flowers" >> select textures/particles/tdm_flowers_003. This material has no "scale" keyword, so - as expected - the thumbnails show 1 tile each.
2) Select the material just below it in the Material Definitions list, tdm_leaves_01. This is a material with "scale 2,2" in all of its stages, but the thumbnails in the Basic tab still only show 1 tile each (expected 4 tiles).
3) Select tdm_leaves_01b. Like the previous selection, this is also a material with "scale 2,2" and now the thumbnails show 4 tiles each (expected 4).
4) Select tdm_flowers_003 again. Now it, too shows thumbnails with 4 tiles (expected 1).
TagsNo tags attached.


There are no notes attached to this issue.

Related Changesets

DarkRadiant: master 3f7a8ea5

06.08.2022 05:49


Details Diff
0006046: Fix texture matrix leak, reset to identity before drawing the image thumbnails Affected Issues
mod - radiant/ui/materials/editor/TexturePreview.h Diff File

Issue History

Date Modified Username Field Change
31.07.2022 11:03 Dragofer New Issue
31.07.2022 11:25 Dragofer Summary Material editor: preview thumbnails use "scale" keyword from previously selected material => Material editor: image thumbnails use "scale" keyword from previously selected material
31.07.2022 15:05 greebo Status new => acknowledged
06.08.2022 05:09 greebo Status acknowledged => confirmed
06.08.2022 05:49 greebo Assigned To => greebo
06.08.2022 05:49 greebo Status confirmed => assigned
06.08.2022 05:49 greebo Target Version => 3.1.0
06.08.2022 05:49 greebo Changeset attached => DarkRadiant master 3f7a8ea5
06.08.2022 05:50 greebo Status assigned => resolved
06.08.2022 05:50 greebo Resolution open => fixed
06.08.2022 05:50 greebo Fixed in Version => 3.1.0