diff --git a/app/models/item.rb b/app/models/item.rb index 4cbcb324..18e9a5b2 100644 --- a/app/models/item.rb +++ b/app/models/item.rb @@ -526,7 +526,8 @@ class Item < ApplicationRecord # If there are no body-specific assets, return one appearance for them all. if swf_assets_by_body_id.empty? - return [Appearance.new(:all, swf_assets_for_all_bodies)] + body = Body.new(0, nil) + return [Appearance.new(body, swf_assets_for_all_bodies)] end # Otherwise, create an appearance for each real (nonzero) body ID. We don't