Skip to content

Commit

Permalink
resolves #1
Browse files Browse the repository at this point in the history
  • Loading branch information
bblanimation committed Sep 5, 2020
1 parent dfd4d45 commit aa2be4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operators/create_build_animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def is_valid(self, scn, ag):
# make sure no objects in this collection are part of another AssemblMe animation
for i in range(len(scn.aglist)):
c = scn.aglist[i].collection
if i == scn.aglist_index or not scn.aglist[i].animated or c.name == ag.collection.name:
if i == scn.aglist_index or not scn.aglist[i].animated or c is None or c.name == ag.collection.name:
continue
for obj in self.objects_to_move:
users_collection = obj.users_collection if b280() else obj.users_group
Expand Down

0 comments on commit aa2be4c

Please # to comment.