mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 13:34:05 -06:00
3DScene mouse event handler partially moved to c++
This commit is contained in:
parent
cf8e7475ca
commit
276533e236
11 changed files with 693 additions and 266 deletions
|
@ -222,7 +222,10 @@ sub mouse_event {
|
|||
];
|
||||
$self->{drag_object} = [ $obj_idx, $instance_idx ];
|
||||
} elsif ($event->RightDown) {
|
||||
$self->{on_right_click}->($pos);
|
||||
#=======================================================================================================================================
|
||||
$self->{on_right_click}->($pos->x, $pos->y);
|
||||
# $self->{on_right_click}->($pos);
|
||||
#=======================================================================================================================================
|
||||
}
|
||||
|
||||
last OBJECTS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue