mirror of
https://github.com/blender/blender-addons.git
synced 2025-08-15 21:38:14 +00:00
Fix missing removal of references to proxy (removed in master).
This commit is contained in:
@ -81,8 +81,6 @@ class OBJECT_OT_EditLinked(bpy.types.Operator):
|
||||
return settings["original_file"] == "" and context.active_object is not None and (
|
||||
(context.active_object.instance_collection and
|
||||
context.active_object.instance_collection.library is not None) or
|
||||
(context.active_object.proxy and
|
||||
context.active_object.proxy.library is not None) or
|
||||
context.active_object.library is not None or
|
||||
(context.active_object.override_library and
|
||||
context.active_object.override_library.reference.library is not None))
|
||||
@ -96,10 +94,6 @@ class OBJECT_OT_EditLinked(bpy.types.Operator):
|
||||
elif target.library:
|
||||
targetpath = target.library.filepath
|
||||
settings["linked_objects"].append(target.name)
|
||||
elif target.proxy:
|
||||
target = target.proxy
|
||||
targetpath = target.library.filepath
|
||||
settings["linked_objects"].append(target.name)
|
||||
elif target.override_library:
|
||||
target = target.override_library.reference
|
||||
targetpath = target.library.filepath
|
||||
@ -259,10 +253,7 @@ class VIEW3D_PT_PanelLinkedEdit(bpy.types.Panel):
|
||||
|
||||
target = None
|
||||
|
||||
if context.active_object.proxy:
|
||||
target = context.active_object.proxy
|
||||
else:
|
||||
target = context.active_object.instance_collection
|
||||
target = context.active_object.instance_collection
|
||||
|
||||
if settings["original_file"] == "" and (
|
||||
(target and
|
||||
|
Reference in New Issue
Block a user