Y-Phil opened this issue on Aug 25, 2021 ยท 4 posts
Y-Phil posted Wed, 25 August 2021 at 3:18 PM
The first script was crashing with lights. Here is the updated version:
for actor in poser.Scene().Actors():
mats = actor.Materials()
if not mats:
continue
for mat in mats:
for layer in mat.Layers():
try:
tree = layer.ShaderTree()
except:
continue
for node in tree.Nodes():
node.SetPreviewCollapsed(0)
tree.UpdatePreview()
๐ซ๐ฝ๐๐
(ใฃโโกโ)ใฃ
๐ฟ Win11 on i9-13900K@5GHz, 64GB, RoG Strix B760F Gamng, Asus Tuf Gaming RTX 4070 OC Edition, 1 TB SSD, 6+4+8TB HD
๐ฟ Mac Mini M2, Sequoia 15.2, 16GB, 500GB SSD
๐ฟ Nas 10TB
๐ฟ Poser 13 and soon 14 โค๏ธ