def set_view_front(self,context):
for area in context.screen.areas:
if area.type == "VIEW_3D":
for space in area.spaces:
if space.type == "VIEW_3D":
region = space.region_3d
region.view_rotation = Quaternion((0.7071,0.7071,-0.0,-0.0))
评论列表
文章目录