Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/gizmo_library/gizmo_types/cage2d_gizmo.c
| Context not available. | |||||
| if (event->type != MOUSEMOVE) { | if (event->type != MOUSEMOVE) { | ||||
| return OPERATOR_RUNNING_MODAL; | return OPERATOR_RUNNING_MODAL; | ||||
| } | } | ||||
| /* For transform logic to be managable we operate in -0.5..0.5 2D space, | /* For transform logic to be manageable we operate in -0.5..0.5 2D space, | ||||
| * no matter the size of the rectangle, mouse coorts are scaled to unit space. | * no matter the size of the rectangle, mouse coorts are scaled to unit space. | ||||
| * The mouse coords have been projected into the matrix so we don't need to worry about axis alignment. | * The mouse coords have been projected into the matrix so we don't need to worry about axis alignment. | ||||
| * | * | ||||
| Context not available. | |||||