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>2018-07-13 20:13:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-07-13 20:16:35 +0300
commitcca87ccc753a85b447872a259c9d3e3f07ec1c13 (patch)
tree9b2e9d8aa5d45153affaef7ad648a811156fbd8c /release/scripts/startup/bl_ui/space_graph.py
parentaf0fc660499a63b367dcc63222d0baee93aa665c (diff)
UI: remove space/region from popover args
Instead use global panel-type list.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_graph.py')
-rw-r--r--release/scripts/startup/bl_ui/space_graph.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/space_graph.py b/release/scripts/startup/bl_ui/space_graph.py
index de5dcdbc36d..eacfb364130 100644
--- a/release/scripts/startup/bl_ui/space_graph.py
+++ b/release/scripts/startup/bl_ui/space_graph.py
@@ -60,9 +60,7 @@ class GRAPH_HT_header(Header):
row.operator("graph.ghost_curves_create", text="", icon='GHOST_ENABLED')
layout.popover(
- space_type='GRAPH_EDITOR',
- region_type='HEADER',
- panel_type="GRAPH_PT_filters",
+ panel="GRAPH_PT_filters",
text="",
icon='FILTER',
)