【发布时间】:2018-02-05 04:07:39
【问题描述】:
如果我拿着钥匙,有谁知道如何让模态做一些不同的事情? 这是我目前拥有的:
if event.type == 'MOUSEMOVE':
if event.type == 'LEFT_SHIFT' and event.value == 'PRESS':
self.value = (event.mouse_region_x - self.mouse_x_initial)
print(self.value)
self.value = event.mouse_region_x - self.mouse_x_initial
【问题讨论】:
标签: python modal-dialog operator-keyword blender bpy