dyntopo_menu.py 文件源码

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

项目:bpy_lambda 作者: bcongdon 项目源码 文件源码
def draw(self, context):
        settings, datapath, slider_setting = self.init()
        menu = utils_core.Menu(self)

        # add the top slider
        menu.add_item().prop(context.tool_settings.sculpt,
                             slider_setting, slider=True)
        menu.add_item().separator()

        # add the rest of the menu items
        for i in range(len(settings)):
            utils_core.menuprop(
                    menu.add_item(), settings[i][0], settings[i][1], datapath,
                    icon='RADIOBUT_OFF', disable=True,
                    disable_icon='RADIOBUT_ON'
                    )
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号