svn merge -r 21041:21301 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender.git] / release / ui / buttons_data_lamp.py
index 52a60ce617e99c7a4a035b96122ad2ee00f53171..a556aceb98dd67319fd1ded437ab7c990e5a35a6 100644 (file)
@@ -36,10 +36,10 @@ class DATA_PT_lamp(DataButtonsPanel):
                split = layout.split(percentage=0.65)
 
                if ob:
-                       split.template_ID(context, ob, "data")
+                       split.template_ID(ob, "data")
                        split.itemS()
                elif lamp:
-                       split.template_ID(context, space, "pin_id")
+                       split.template_ID(space, "pin_id")
                        split.itemS()
 
                layout.itemS()