Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVilem Duha <vilem.duha@gmail.com>2019-06-01 19:27:45 +0300
committerVilem Duha <vilem.duha@gmail.com>2019-06-01 19:49:19 +0300
commit4279ab28df5cd2207c18abccc1b1b48d58435e30 (patch)
tree354f23706e53e8a1830bb12643d2391775b42557 /blenderkit
parent75fc9e45892dd8b011a4facf3d549b0df0d7a6dd (diff)
BlenderKit: automap activates it's own UV channel also for Cycles.
Diffstat (limited to 'blenderkit')
-rw-r--r--blenderkit/utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/blenderkit/utils.py b/blenderkit/utils.py
index 0cda06fb..2b13533f 100644
--- a/blenderkit/utils.py
+++ b/blenderkit/utils.py
@@ -437,6 +437,5 @@ def automap(target_object=None, target_slot=None, tex_size=1, bg_exception=False
correct_aspect=False) # it's 2.0 because blender can't tell size of a cube :)
bpy.ops.object.editmode_toggle()
tob.data.uv_layers.active = tob.data.uv_layers['automap']
- # tob.data.uv_textures["automap"].active_render = True
-
+ tob.data.uv_layers["automap"].active_render = True
bpy.context.view_layer.objects.active = actob