patch [#24424] Python scripts update for API changes
from Filiciss Muhgue (filiciss)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user