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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-02-11 06:01:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-02-11 06:10:22 +0300
commit50d5c03e2d14b852c6afd3046aa8428bede85efd (patch)
tree220714fa3230b87f8253b420098ba89ace42ccdc /release
parentad2a8400e9a263acf924311ce1fb050b0e1eb415 (diff)
UI: Use popup dialog for make single user from operator search
Use a popup since the default action was to do nothing, the user would always need to access the redo panel. Resolves T73711.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 6ca6cb7b544..537a4a4761a 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -2713,6 +2713,7 @@ class VIEW3D_MT_make_single_user(Menu):
def draw(self, _context):
layout = self.layout
+ layout.operator_context = 'EXEC_DEFAULT'
props = layout.operator("object.make_single_user", text="Object")
props.object = True