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:
authorThomas Dinges <blender@dingto.org>2021-11-29 16:06:54 +0300
committerThomas Dinges <blender@dingto.org>2021-11-29 16:06:54 +0300
commit64537a0df535cdceeea003deadcd5bb1a5242573 (patch)
tree4367fb279e6f0645a852af06fbdd8c692573dcc9 /amaranth
parent41844e5cfb9a4e695c7992a4c3ab95d9cc62da50 (diff)
Fix Amaranth and FBX cycles visibility settings.
These were moved to the object level in rBca64bd0aacda.
Diffstat (limited to 'amaranth')
-rw-r--r--amaranth/render/meshlight_add.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/amaranth/render/meshlight_add.py b/amaranth/render/meshlight_add.py
index c1ca94a0..0b78b52b 100644
--- a/amaranth/render/meshlight_add.py
+++ b/amaranth/render/meshlight_add.py
@@ -168,8 +168,8 @@ class AMTH_OBJECT_OT_meshlight_add(bpy.types.Operator):
sockets.show_expanded = True
material.cycles.sample_as_light = True
- meshlight.cycles_visibility.shadow = False
- meshlight.cycles_visibility.camera = self.visible
+ meshlight.visible_shadow = False
+ meshlight.visible_camera = self.visible
return {'FINISHED'}