ui_change_category.py 文件源码

python
阅读 18 收藏 0 点赞 0 评论 0

项目:BetterBlender 作者: bobtherobot 项目源码 文件源码
def draw(self, context):
        layout = self.layout
        wm = context.window_manager
        preferences = bpy.context.user_preferences.addons['ui_change_category'].preferences

        col = layout.column(align=False)
        col.label("Panel:")
        col.prop_search(wm, "chosen_panel",  preferences, "tool_panels",  text="", icon="MENU_PANEL")
        if wm.chosen_panel:
            col.prop(wm, "panel_category")
        col.operator("wm.save_userpref")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号