Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <bastien@blender.org>2022-02-07 18:16:10 +0300
committerBastien Montagne <bastien@blender.org>2022-02-07 18:16:10 +0300
commit089aef61debbece2baff6516e33fc7491629b1d0 (patch)
treecc71841dbcda7121cf4f3a3055900b93d9dda730 /object_edit_linked.py
parentf1993babd0aedc358eb421b818f00c1bd98579dd (diff)
Fix missing removal of references to proxy (removed in master).
Diffstat (limited to 'object_edit_linked.py')
-rw-r--r--object_edit_linked.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/object_edit_linked.py b/object_edit_linked.py
index 9299a575..386e5c0c 100644
--- a/object_edit_linked.py
+++ b/object_edit_linked.py
@@ -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