AnimCupboard: ID Management Pie #127

Merged
Demeter Dzadik merged 11 commits from Mets/blender-studio-pipeline:AnimCupboard-relationship-viewer into main 2023-07-19 14:43:14 +02:00
Showing only changes of commit 6e489eb1f6 - Show all commits

View File

@ -88,7 +88,7 @@ class RelationshipOperatorMixin:
raise NotImplementedError
def get_label(self):
return "Showing users of datablock:"
return "Listing datablocks that reference this:"
def draw(self, context):
layout = self.layout
@ -178,7 +178,7 @@ class OUTLINER_OT_list_dependencies_of_datablock(
bl_label = "List Datablock Dependencies"
def get_label(self):
return "Showing dependencies of datablock:"
return "Listing datablocks that are referenced by this:"
def get_datablocks_to_display(self, datablock: bpy.types.ID) -> List[bpy.types.ID]:
dependencies = id_map_utils.get_id_reference_map().get(datablock)
@ -281,14 +281,14 @@ class OUTLINER_OT_remap_users(bpy.types.Operator):
id = self.get_source_id()
id_icon = get_datablock_icon(id)
split = row.split()
split.row().label(text="Remap Users of ID:")
split.row().label(text="Anything that was referencing this:")
row = split.row()
row.prop(self, 'id_name_source', text="", icon=id_icon)
row.enabled = False
layout.separator()
col = layout.column()
col.label(text="Remap users to: ")
col.label(text="Will now reference this instead: ")
if len(scene.remap_target_libraries) > 1:
col.prop_search(
self,
@ -302,7 +302,7 @@ class OUTLINER_OT_remap_users(bpy.types.Operator):
'id_name_target',
scene,
'remap_targets',
text="Remap To",
text="Datablock",
icon=id_icon,
)