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-06-19 18:39:54 +02:00 committed by GitHub
parent 449cd662dd
commit bc33407f28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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