def draw(self, context):
layout = self.layout
element = context.active_object
# Restore cursor in case of unhandled Exception
w = context.window_manager.windows[0]
w.cursor_modal_restore()
# Panel
split = layout.split(.6) # namelist
split.prop(element, "bf_namelist_cls", text="")
row = split.row(align=True) # aspect
row.prop(element, "show_transparent", icon="GHOST", text="")
row.prop(element, "draw_type", text="")
element.bf_namelist.draw(context, layout)
row = layout.row()
if element.bf_has_tmp: row.operator("object.bf_hide_fds_geometry")
else: row.operator("object.bf_show_fds_geometry")
row.operator("object.bf_show_fds_code", text="Show FDS Code")
row.operator("object.bf_props_to_sel_obs", text="Copy To")
评论列表
文章目录