About Store Forum Documentation Contact



Post Reply 
[SOLVED] Images in Materials reloading
Author Message
Hokan Offline
Member

Post: #1
[SOLVED] Images in Materials reloading
Hello everyone,

Just testing Esenthel Engine for fun, found kind of bug.
1. Make material.
2. Attach some image (from file system or from project "image" object, doesn't matter) as Colour. For example located in "D:\Images"
3. Change image outside editor via some tool (paint, for example)
4. Press "Reload" on Material
5. Message box appears suggesting to reload original file which located in "". Yup, message box show me NO path to prevously attached image (D:\Images)
6. Press "Yes"
7. Nothing changes - colour image still the same

BUT if I change material somehow (flip normals, attach alpha chanel, etc.), engine correctly reload colour image too.

Doesn't seem to be native behaviour for me. Maybe I'm doing something wrong?

I use quite old version of Engine (from 05.02.2015)
(This post was last modified: 04-08-2015 04:55 PM by Hokan.)
04-07-2015 06:23 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Images in Materials reloading
Reload Material will work only if material was imported from a file.
To reload a texture, simply click on the texture slot in the material, and select the texture file again.
04-08-2015 02:46 AM
Find all posts by this user Quote this message in a reply
Hokan Offline
Member

Post: #3
RE: Images in Materials reloading
Thanks, really works.
04-08-2015 04:54 PM
Find all posts by this user Quote this message in a reply
Post Reply