Update openpype/hosts/max/plugins/publish/extract_pointcloud.py

Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
This commit is contained in:
Ondřej Samohel 2023-05-04 11:30:08 +02:00 committed by GitHub
parent 0065dc1056
commit 6923f69205
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,7 @@ class ExtractPointCloud(publish.Extractor):
for anim_name in anim_names:
sub_anim = rt.GetSubAnim(obj, anim_name)
boolean = rt.IsProperty(sub_anim, "Export_Particles")
if boolean:
if boolean:
event_name = sub_anim.Name
opt = f"${member.Name}.{event_name}.export_particles"
opt_list.append(opt)