简体   繁体   English

在UV编辑器中为Blender 2.78中的某些对象设置活动图像

[英]Set active image in UV Editor for certain object in Blender 2.78

Currently I am writing a script for blender which imports model saved in custom format. 目前,我正在为Blender编写脚本,该脚本导入以自定义格式保存的模型。 My problem is that I want to set active texture in UV Editor using Python. 我的问题是我想使用Python在UV Editor中设置活动纹理。 When I hover the button which allows me to select image I want to show in UV Editor, there's no python function name on the tooltip. 当我将鼠标悬停在允许我选择要在UV编辑器中显示的图像的按钮上时,工具提示上没有python函数名称。 Is there any way to set another image to each object? 有什么办法为每个对象设置另一个图像吗? When i tried to use this method the image was present in image editor, but after i select certain object and then i select all his faces, there was no image in the editor. 当我尝试使用此方法时 ,图像存在于图像编辑器中,但是当我选择了某个对象然后选择了所有他的脸之后,编辑器中没有图像。

PS Sorry for my bad english. PS对不起,我的英语不好。 If you don't understand something, just ask me. 如果您听不懂,请问我。

我有一个类似的问题,Blender堆栈交换板上的这个帖子为我解决了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM