Asset Pipeline v2 #145
@ -601,13 +601,13 @@ class ASSETPIPE_OT_batch_ownership_change(bpy.types.Operator):
|
||||
if self.data_source == "SELECT"
|
||||
else context.scene.objects
|
||||
)
|
||||
if self.filter_owners == "LOCAL":
|
||||
if self.filter_owners == "LOCAL" and self.data_type == "OBJECT":
|
||||
return [
|
||||
item
|
||||
for item in self._filter_by_name(context, objs)
|
||||
if item.asset_id_owner in get_local_task_layers()
|
||||
]
|
||||
if self.filter_owners == "OWNED":
|
||||
if self.filter_owners == "OWNED" and self.data_type == "OBJECT":
|
||||
return [
|
||||
item
|
||||
for item in self._filter_by_name(context, objs)
|
||||
|
Loading…
Reference in New Issue
Block a user