Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
lgl
SmartVillages2
Commits
24f01efd
Commit
24f01efd
authored
Sep 15, 2025
by
Luna Riegel
Browse files
Remove place option from contextmenu
parent
f0211f31
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/index.js
View file @
24f01efd
...
@@ -421,15 +421,6 @@ export default function smartVillagesPlugin(config, baseUrl) {
...
@@ -421,15 +421,6 @@ export default function smartVillagesPlugin(config, baseUrl) {
const
pick
=
vcsApp
.
maps
.
activeMap
.
getScene
().
pick
(
event
.
windowPosition
);
const
pick
=
vcsApp
.
maps
.
activeMap
.
getScene
().
pick
(
event
.
windowPosition
);
if
(
pick
!==
undefined
&&
pick
.
primitive
!==
undefined
&&
pick
.
primitive
.
id
!==
undefined
)
{
if
(
pick
!==
undefined
&&
pick
.
primitive
!==
undefined
&&
pick
.
primitive
.
id
!==
undefined
)
{
model
=
pick
.
primitive
.
id
model
=
pick
.
primitive
.
id
actions
.
push
({
id
:
'
move
'
,
name
:
'
Objekt platzieren
'
,
callback
()
{
const
interaction
=
new
PickPlaceInteraction
();
interaction
.
setActive
(
EventType
.
CLICKMOVE
);
activeMouseEvent
=
vcsApp
.
maps
.
eventHandler
.
addExclusiveInteraction
(
interaction
,
()
=>
{
console
.
log
(
"
removed
"
)
});
},
});
actions
.
push
({
actions
.
push
({
id
:
'
move
'
,
id
:
'
move
'
,
name
:
'
Objekt verschieben
'
,
name
:
'
Objekt verschieben
'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment