lang.py 文件源码

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

项目:blenderfds 作者: firetools 项目源码 文件源码
def update_OP_namelist_cls(self, context):
    # When Object namelist cls is updated:
    self.bf_xb = "NONE" # FIXME more rough but cleaner
    self.bf_xyz = "NONE"
    self.bf_pb = "NONE"
    # Check allowed geometries, different namelists may have different allowed geometries FIXME multiple not allowed geometries were left
    #bf_namelist = self.bf_namelist
    #bf_prop_XB = bf_namelist.bf_prop_XB
    #bf_prop_XYZ = bf_namelist.bf_prop_XYZ    
    #bf_prop_PB = bf_namelist.bf_prop_PB 
    #if bf_prop_XB and self.bf_xb not in bf_prop_XB.allowed_items: self.bf_xb = "NONE"
    #if bf_prop_XYZ and self.bf_xyz not in bf_prop_XYZ.allowed_items: self.bf_xyz = "NONE"
    #if bf_prop_PB and self.bf_pb not in bf_prop_PB.allowed_items: self.bf_pb = "NONE"
    # Set default appearance
    self.set_default_appearance(context)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号