svn merge -r 21041:21301 https://svn.blender.org/svnroot/bf-blender/branches/blender2...
[blender.git] / release / ui / buttons_data_lattice.py
index ad9b1b518b8eafea8c96e1d200ce020e29883be1..bf2aaad5a97865e79177947a649c32df4bc86686 100644 (file)
@@ -26,10 +26,10 @@ class DATA_PT_lattice(DataButtonsPanel):
                split = layout.split(percentage=0.65)
 
                if ob:
-                       split.template_ID(context, ob, "data")
+                       split.template_ID(ob, "data")
                        split.itemS()
                elif lat:
-                       split.template_ID(context, space, "pin_id")
+                       split.template_ID(space, "pin_id")
                        split.itemS()
 
                if lat: