Asset Pipeline v2 #145
@ -52,21 +52,6 @@ class ASSETPIPE_OT_sync_with_publish(bpy.types.Operator):
|
||||
self.pull = True
|
||||
return context.window_manager.invoke_props_dialog(self, width=400)
|
||||
|
||||
def get_transfer_data(self, name):
|
||||
return [
|
||||
self._new_transfer_data[item]
|
||||
for item in self._new_transfer_data
|
||||
if self._new_transfer_data[item][2] == name
|
||||
]
|
||||
|
||||
def draw_transfer_data_items(self, layout, name):
|
||||
items = self.get_transfer_data(name)
|
||||
if items:
|
||||
box = layout.box()
|
||||
box.label(text=name)
|
||||
for item in items:
|
||||
box.label(text=f"OBJ:{item[0].id_data.name} - {item[1]}")
|
||||
|
||||
def draw(self, context: bpy.types.Context):
|
||||
layout = self.layout
|
||||
ownership = context.scene.temp_transfer_data_ownership
|
||||
|
Loading…
Reference in New Issue
Block a user