                         // turn on origin and move
                         MoveOrigin(i, true);
 
-                        if (isThisNodeOneOfSelected(originsNodes[i])) 
+                        if (isThisNodeOneOfSelected(originsNodes[i]))
                         {
                             ShowSelectedNodeOrigin(originsNodes[i], i);
                             originsNames[i].visible = true;

    if (origin is null) return;

    if (EditorPaintSelectionShow) return;

    //if (hotKeyMode == HOTKEYS_MODE_BLENDER)
    //    if (!input.mouseButtonDown[MOUSEB_RIGHT]) return;
    //else
    //    if (!input.mouseButtonDown[MOUSEB_LEFT]) return;

    if (IsSceneOrigin(origin))
    {

        data["NodeId"] = originsIcons[originHoveredIndex].vars[ORIGIN_NODEID_VAR].GetInt();
        SendEvent(EDITOR_EVENT_ORIGIN_END_HOVER, data);
        isOriginsHovered = false;
    }
}