Asset Pipeline v2 #145
@ -94,6 +94,12 @@ class ASSETPIPE_OT_sync_with_publish(bpy.types.Operator):
|
||||
_temp_transfer_data = None
|
||||
_invalid_objs = []
|
||||
|
||||
expand: bpy.props.BoolProperty(
|
||||
name="Show New Transfer Data",
|
||||
default=False,
|
||||
description="Show New Transfer Data",
|
||||
)
|
||||
|
||||
save: bpy.props.BoolProperty(
|
||||
name="Save Current File",
|
||||
default=True,
|
||||
@ -150,9 +156,14 @@ class ASSETPIPE_OT_sync_with_publish(bpy.types.Operator):
|
||||
layout.label(text="No New Transfer Data found")
|
||||
else:
|
||||
layout.label(text="New Transfer Data will be Pushed to Publish")
|
||||
|
||||
row = layout.row()
|
||||
row.prop(self, "expand", text="", icon="COLLAPSEMENU", toggle=False)
|
||||
row.label(text="Show New Transfer Data")
|
||||
objs = [transfer_info.obj for transfer_info in self._temp_transfer_data]
|
||||
|
||||
if not self.expand:
|
||||
return
|
||||
|
||||
for obj in set(objs):
|
||||
obj_ownership = [
|
||||
transfer_info
|
||||
|
Loading…
Reference in New Issue
Block a user