patch [#24424] Python scripts update for API changes

from Filiciss Muhgue (filiciss)
This commit is contained in:
2010-10-27 22:15:55 +00:00
parent cbb47c1dac
commit ab404a0f66
3 changed files with 4 additions and 5 deletions

View File

@@ -632,9 +632,8 @@ class WM_OT_doc_edit(bpy.types.Operator):
def draw(self, context):
layout = self.layout
props = self.properties # XXX, this should not be needed, api problem!
layout.label(text="Descriptor ID: '%s'" % props.doc_id)
layout.prop(props, "doc_new", text="")
layout.prop(self, "doc_new", text="")
def invoke(self, context, event):
wm = context.window_manager