AnimCupboard: ID Management Pie #127
@ -88,7 +88,7 @@ class RelationshipOperatorMixin:
|
|||||||
raise NotImplementedError
|
raise NotImplementedError
|
||||||
|
|
||||||
def get_label(self):
|
def get_label(self):
|
||||||
return "Showing users of datablock:"
|
return "Listing datablocks that reference this:"
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
@ -178,7 +178,7 @@ class OUTLINER_OT_list_dependencies_of_datablock(
|
|||||||
bl_label = "List Datablock Dependencies"
|
bl_label = "List Datablock Dependencies"
|
||||||
|
|
||||||
def get_label(self):
|
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]:
|
def get_datablocks_to_display(self, datablock: bpy.types.ID) -> List[bpy.types.ID]:
|
||||||
dependencies = id_map_utils.get_id_reference_map().get(datablock)
|
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 = self.get_source_id()
|
||||||
id_icon = get_datablock_icon(id)
|
id_icon = get_datablock_icon(id)
|
||||||
split = row.split()
|
split = row.split()
|
||||||
split.row().label(text="Remap Users of ID:")
|
split.row().label(text="Anything that was referencing this:")
|
||||||
row = split.row()
|
row = split.row()
|
||||||
row.prop(self, 'id_name_source', text="", icon=id_icon)
|
row.prop(self, 'id_name_source', text="", icon=id_icon)
|
||||||
row.enabled = False
|
row.enabled = False
|
||||||
|
|
||||||
layout.separator()
|
layout.separator()
|
||||||
col = layout.column()
|
col = layout.column()
|
||||||
col.label(text="Remap users to: ")
|
col.label(text="Will now reference this instead: ")
|
||||||
if len(scene.remap_target_libraries) > 1:
|
if len(scene.remap_target_libraries) > 1:
|
||||||
|
|||||||
col.prop_search(
|
col.prop_search(
|
||||||
self,
|
self,
|
||||||
@ -302,7 +302,7 @@ class OUTLINER_OT_remap_users(bpy.types.Operator):
|
|||||||
'id_name_target',
|
'id_name_target',
|
||||||
scene,
|
scene,
|
||||||
'remap_targets',
|
'remap_targets',
|
||||||
text="Remap To",
|
text="Datablock",
|
||||||
icon=id_icon,
|
icon=id_icon,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user
This loop is looking for a
VIEW_3D
but the report says it is checking if an outliner is present. Assuming the outliner is what you are looking for wouldn't it be more explicit to do...