0
$\begingroup$

i have a big problem in the Image_Editor/UV to remove completely a Texture. her a screen:

img remove problem

I don't think I have to say anything more about that.

i hope anyone can me help.

$\endgroup$
1
$\begingroup$

UI redraw issue.

The issue you are seeing is UI related. The red is an indicator of this: warning that there is an issue, in this case showing the name of an image that has been removed.

If this is the case then issuing a tag redraw to the image editor will fix .

import bpy

img = bpy.data.images[0]
bpy.data.images.remove(img)

for a in bpy.context.screen.areas:
    if a.type == 'IMAGE_EDITOR':
        a.tag_redraw()
| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.