simplify x11 path code, had unneeded NULL checks and std namespace
[blender.git] / source / blender / windowmanager / intern / wm_event_system.c
index c1fd903c479df78225ccca5169447ca2d48c49bb..413ff181f11778c342e3c5acce01ca9aa1174354 100644 (file)
@@ -2332,8 +2332,8 @@ static void attach_ndof_data(wmEvent* event, const GHOST_TEventNDOFMotionData* g
        data->tx = s * ghost->tx;
 
        data->rx = s * ghost->rx;
-       data->rx = s * ghost->ry;
-       data->rx = s * ghost->rz;
+       data->ry = s * ghost->ry;
+       data->rz = s * ghost->rz;
 
        if (U.ndof_flag & NDOF_ZOOM_UPDOWN)
                {