View Issue Details

IDProjectCategoryView StatusLast Update
0006069DarkRadiantGUIpublic14.08.2022 12:45
ReporterDragofer Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.0.0 
Target Version3.1.0Fixed in Version3.1.0 
Summary0006069: Material Editor: after "Reload Images", image previews are only updated when selecting a different material
DescriptionThe preview thumbnails for the individual image stages of a material should be updated when the "Reload Images" button is pressed in the Material Editor. Instead, thumbnails update only once a different material is selected.
Steps To Reproduce0) Make sure you have extracted the images of a material so you can readily change them for testing this bug.
1) Open the Material Editor, select the material from step 0. Note the current appearance of the thumbnails.
2) In the File Explorer, make a noticeable change to one of the images. For example, copy the normalmap and give it the same name as the diffusemap.
3) Switch to the Material Explorer and click on Reload Images. The preview thumbnails aren't updated. If you used the example from step 3, the diffusemap preview is unchanged.
4) Select any other material in the Material Editor before switching back to the original material. The thumbnails are now updated, i.e. the diffusemap stage now appears like a normalmap.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

DarkRadiant: master 1ab8533b

14.08.2022 12:31

greebo


Details Diff
0006069: Remove the duplicted layer vector exposed by CShader. The layers are now owned by the ShaderTemplate only, the material is offering a new API to access the layers by index, or by a visitor function. Affected Issues
0006069
mod - include/ishaders.h Diff File
mod - libs/materials/FrobStageSetup.h Diff File
mod - libs/wxutil/preview/GuiRenderer.cpp Diff File
mod - plugins/script/interfaces/ShaderSystemInterface.h Diff File
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File
mod - radiant/ui/materials/editor/MaterialPreview.cpp Diff File
mod - radiant/ui/materials/editor/TexturePreview.h Diff File
mod - radiantcore/model/export/WavefrontExporter.cpp Diff File
mod - radiantcore/rendersystem/backend/OpenGLShader.cpp Diff File
mod - radiantcore/shaders/CShader.cpp Diff File
mod - radiantcore/shaders/CShader.h Diff File
mod - radiantcore/shaders/MaterialManager.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.cpp Diff File
mod - radiantcore/shaders/ShaderTemplate.h Diff File
mod - test/MaterialExport.cpp Diff File
mod - test/Materials.cpp Diff File

DarkRadiant: master 436cbb9d

14.08.2022 12:44

greebo


Details Diff
0006069: Update the thumbnail previews after reloading images Affected Issues
0006069
mod - radiant/ui/materials/editor/MaterialEditor.cpp Diff File

Issue History

Date Modified Username Field Change
13.08.2022 18:30 Dragofer New Issue
13.08.2022 19:41 greebo Status new => acknowledged
14.08.2022 08:29 greebo Status acknowledged => confirmed
14.08.2022 08:29 greebo Assigned To => greebo
14.08.2022 08:29 greebo Status confirmed => assigned
14.08.2022 12:45 greebo Target Version => 3.1.0
14.08.2022 12:45 greebo Changeset attached => DarkRadiant master 1ab8533b
14.08.2022 12:45 greebo Changeset attached => DarkRadiant master 436cbb9d
14.08.2022 12:45 greebo Status assigned => resolved
14.08.2022 12:45 greebo Resolution open => fixed
14.08.2022 12:45 greebo Fixed in Version => 3.1.0