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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-23 04:19:10 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-06-23 04:19:10 +0400
commit272fac8fd6e8c64472c856b85994f841678f172c (patch)
treea6155319c56cc9a179a2c3c1f3eaf33e0b5d8f2d /release/ui/buttons_data_curve.py
parent333e231fa6c8e44582d94fedd2dda958e5131316 (diff)
UI: some API functions don't require explicit context passing anymore.
Diffstat (limited to 'release/ui/buttons_data_curve.py')
-rw-r--r--release/ui/buttons_data_curve.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/ui/buttons_data_curve.py b/release/ui/buttons_data_curve.py
index 869d29802e1..e60f9591d29 100644
--- a/release/ui/buttons_data_curve.py
+++ b/release/ui/buttons_data_curve.py
@@ -26,10 +26,10 @@ class DATA_PT_shape_curve(DataButtonsPanel):
split = layout.split(percentage=0.65)
if ob:
- split.template_ID(context, ob, "data")
+ split.template_ID(ob, "data")
split.itemS()
elif curve:
- split.template_ID(context, space, "pin_id")
+ split.template_ID(space, "pin_id")
split.itemS()
if curve: