* check mouse button in * same for center rectangle --------- Co-authored-by: 49fl <ircsurfer33@gmail.com>
This commit is contained in:
@ -862,6 +862,8 @@ export const modelingMachine = setup({
|
||||
}
|
||||
sceneInfra.setCallbacks({
|
||||
onClick: (args) => {
|
||||
if (!args) return
|
||||
if (args.mouseEvent.which !== 1) return
|
||||
const twoD = args.intersectionPoint?.twoD
|
||||
if (twoD) {
|
||||
sceneInfra.modelingSend({
|
||||
@ -893,6 +895,8 @@ export const modelingMachine = setup({
|
||||
}
|
||||
sceneInfra.setCallbacks({
|
||||
onClick: (args) => {
|
||||
if (!args) return
|
||||
if (args.mouseEvent.which !== 1) return
|
||||
const twoD = args.intersectionPoint?.twoD
|
||||
if (twoD) {
|
||||
sceneInfra.modelingSend({
|
||||
|
Reference in New Issue
Block a user