3DScene mouse event handler partially moved to c++

This commit is contained in:
Enrico Turri committed 2018-05-31 13:51:50 +02:00
1 parent cf8e7475ca
commit 276533e236
11 files changed
+693 -266

No files matched your search

+4 -1
View File
@@ -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;