ui.py 文件源码

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

项目:blenderfds 作者: firetools 项目源码 文件源码
def _sp_items_update(self, context):
    # Get the right space on screen (Properties Panel)
    space = context.space_data
    if space and space.type != 'PROPERTIES': # I am not called by the Properties Panel
        space = None
        for window in context.window_manager.windows:
            for area in window.screen.areas:
                if area.type == 'PROPERTIES':
                    space = area.spaces[0]
                    break
    if not space: return
    # Update Properties Panel context
    try: space.context = self.bf_sp_context
    except TypeError: self.bf_sp_context = 'SCENE'
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号