Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new_image = bpy.data.images.load('yourlogo_black.png', check_existing=False)
- bpy.data.images['avengers.png'].name = new_image.name
- bpy.data.images['avengers.png'].replace(filepath='yourlogo_black.png', relative_path=False)
- bpy.data.images['avengers.png'].reload()
- bpy.data.images['avengers.png'].filepath = 'yourlogo_black.png'
Add Comment
Please, Sign In to add comment